diff --git a/.github/workflows/aarch64-darwin.yml b/.github/workflows/aarch64-darwin.yml new file mode 100644 index 0000000..5a0f056 --- /dev/null +++ b/.github/workflows/aarch64-darwin.yml @@ -0,0 +1,29 @@ +name: check +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + check: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macos-14] + steps: + - uses: actions/checkout@main + - uses: DeterminateSystems/nix-installer-action@main + - uses: cachix/cachix-action@master + with: + name: cspr + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - name: System Info + run: | + uname -a + nix --version + + - name: casper-rust-sdk (aarch64-darwin) + run: nix build -L --no-link --show-trace .#packages.aarch64-darwin.casper-rust-sdk diff --git a/.github/workflows/pre-check.yml b/.github/workflows/pre-check.yml new file mode 100644 index 0000000..1b77ecb --- /dev/null +++ b/.github/workflows/pre-check.yml @@ -0,0 +1,11 @@ +name: pre-check +on: + pull_request: + branches: [main] + +jobs: + check-signed-commits: + runs-on: ubuntu-latest + steps: + - name: check signed commits + uses: 1Password/check-signed-commits-action@v1 diff --git a/.github/workflows/x86_64-darwin.yml b/.github/workflows/x86_64-darwin.yml new file mode 100644 index 0000000..c847fbc --- /dev/null +++ b/.github/workflows/x86_64-darwin.yml @@ -0,0 +1,29 @@ +name: check +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + check: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macos-latest] + steps: + - uses: actions/checkout@main + - uses: DeterminateSystems/nix-installer-action@main + - uses: cachix/cachix-action@master + with: + name: cspr + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - name: System Info + run: | + uname -a + nix --version + + - name: casper-rust-sdk (x86_64-darwin) + run: nix build -L --no-link --show-trace .#packages.x86_64-darwin.casper-rust-sdk