-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into feature/wg_private_ip
- Loading branch information
Showing
122 changed files
with
1,766 additions
and
686 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.github/workflows/ci-binary-checker.yml → ...ub/workflows/ci-binary-config-checker.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Run config checks on all binaries | ||
name: ci-binary-config-checker | ||
|
||
on: | ||
workflow_dispatch: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: nightly-nym-connect-desktop-build | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '14 1 * * *' | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
CARGO_TERM_COLOR: always | ||
MANIFEST_PATH: --manifest-path nym-connect/desktop/Cargo.toml | ||
continue-on-error: true | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Dependencies (Linux) | ||
run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools | ||
if: matrix.os == 'ubuntu-20.04' | ||
|
||
- name: Install rust toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
components: rustfmt, clippy | ||
|
||
- name: Check formatting | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: ${{ env.MANIFEST_PATH }} --all -- --check | ||
|
||
- name: Build | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: ${{ env.MANIFEST_PATH }} --release --workspace | ||
|
||
- name: Unit tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: ${{ env.MANIFEST_PATH }} --workspace | ||
|
||
- name: Clippy | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: clippy | ||
args: ${{ env.MANIFEST_PATH }} --workspace --all-targets -- -D warnings | ||
|
||
notification: | ||
needs: build | ||
runs-on: custom-linux | ||
steps: | ||
- name: Collect jobs status | ||
uses: technote-space/workflow-conclusion-action@v2 | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: install npm | ||
uses: actions/setup-node@v3 | ||
if: env.WORKFLOW_CONCLUSION == 'failure' | ||
with: | ||
node-version: 18 | ||
- name: Matrix - Node Install | ||
if: env.WORKFLOW_CONCLUSION == 'failure' | ||
run: npm install | ||
working-directory: .github/workflows/support-files | ||
- name: Matrix - Send Notification | ||
if: env.WORKFLOW_CONCLUSION == 'failure' | ||
env: | ||
NYM_NOTIFICATION_KIND: nightly | ||
NYM_PROJECT_NAME: "nym-connect-desktop-nightly-build" | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
GIT_COMMIT_MESSAGE: "${{ github.event.head_commit.message }}" | ||
GIT_BRANCH: "${GITHUB_REF##*/}" | ||
IS_SUCCESS: "${{ env.WORKFLOW_CONCLUSION == 'success' }}" | ||
MATRIX_SERVER: "${{ secrets.MATRIX_SERVER }}" | ||
MATRIX_ROOM: "${{ secrets.MATRIX_ROOM_NIGHTLY }}" | ||
MATRIX_USER_ID: "${{ secrets.MATRIX_USER_ID }}" | ||
MATRIX_TOKEN: "${{ secrets.MATRIX_TOKEN }}" | ||
MATRIX_DEVICE_ID: "${{ secrets.MATRIX_DEVICE_ID }}" | ||
uses: docker://keybaseio/client:stable-node | ||
with: | ||
args: .github/workflows/support-files/notifications/entry_point.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.