File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 14
14
run : npm run lint
15
15
- name : Test
16
16
run : npm test
17
+ local-builds :
18
+ strategy :
19
+ matrix :
20
+ os : [ubuntu-latest, windows-latest, macos-latest]
21
+ runs-on : ${{ matrix.os }}
22
+ steps :
23
+ - name : Checkout
24
+ uses : actions/checkout@v1
25
+ - name : Setup Rust
26
+ uses : hecrj/setup-rust-action@v1
27
+ with :
28
+ rust-version : stable
29
+ targets : x86_64-unknown-linux-musl
30
+ - name : Install MUSL tools
31
+ if : matrix.os == 'ubuntu-latest'
32
+ run : sudo apt-get update && sudo apt-get install -y musl-tools
33
+ - name : Build
34
+ run : |
35
+ cd tests/integration/test-func
36
+ npm ci -D ../../.. --silent
37
+ npx serverless package
38
+ - name : Upload artifact
39
+ uses : actions/upload-artifact@v1
40
+ with :
41
+ name : ${{ matrix.os }}-lambda
42
+ path : tests/integration/test-func/target/lambda/release/test-func.zip
17
43
integration-test :
18
44
strategy :
19
45
matrix :
You can’t perform that action at this time.
0 commit comments