diff options
| author | quapka | 2025-06-21 12:44:18 +0200 |
|---|---|---|
| committer | quapka | 2025-06-21 12:44:18 +0200 |
| commit | de71e98a2f73be5dc4b6cc35feb3db4aca648a85 (patch) | |
| tree | 8a1e11c41482d39a3d1b9eb8da7b40bbbf7201d9 | |
| parent | 314d08d47af142633a9b12fef64193c47f37a96b (diff) | |
| download | ECTester-de71e98a2f73be5dc4b6cc35feb3db4aca648a85.tar.gz ECTester-de71e98a2f73be5dc4b6cc35feb3db4aca648a85.tar.zst ECTester-de71e98a2f73be5dc4b6cc35feb3db4aca648a85.zip | |
| -rw-r--r-- | .github/workflows/nix.yml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index c5dde32..405f619 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -79,3 +79,53 @@ jobs: - name: Show reader --help run: | nix run ".?submodules=1#reader" -- --help + + applet: + runs-on: ubuntu-latest + permissions: + contents: read + + strategy: + matrix: + sdk: [ "222", "305", "320" ] + fail-fast: false + + name: Build applet ${{ matrix.sdk }} + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + fetch-tags: true + fetch-depth: -1 + + - uses: DeterminateSystems/nix-installer-action@v13 + with: + diagnostic-endpoint: "" + + - uses: DeterminateSystems/magic-nix-cache-action@v7 + with: + diagnostic-endpoint: "" + + - name: Build applet + run: | + nix build ".?submodules=1#applet${{ matrix.sdk }}" + + name: Build all applets at once + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + fetch-tags: true + fetch-depth: -1 + + - uses: DeterminateSystems/nix-installer-action@v13 + with: + diagnostic-endpoint: "" + + - uses: DeterminateSystems/magic-nix-cache-action@v7 + with: + diagnostic-endpoint: "" + + - name: Build all applets + run: | + nix build ".?submodules=1#applets" |
