We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab976c commit d53ad2eCopy full SHA for d53ad2e
.github/workflows/build.yml
@@ -0,0 +1,22 @@
1
+name: Build
2
+on: [ push, pull_request ]
3
+concurrency:
4
+ group: ${{ github.workflow }}-${{ github.ref }}
5
+ cancel-in-progress: true
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-20.04
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: cachix/install-nix-action@v17
12
+ - uses: cachix/cachix-action@v10
13
+ with:
14
+ name: enarx
15
+ authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
16
+ - name: Build Cryptle Enarx package
17
+ run: nix build -L '.#cryptle-enarx'
18
+ - run: nix run --inputs-from . 'nixpkgs#coreutils' -- --coreutils-prog=ginstall -p ./result/main.wasm cryptle.wasm
19
+ - uses: actions/upload-artifact@v3
20
21
+ name: cryptle.wasm
22
+ path: cryptle.wasm
0 commit comments