File tree Expand file tree Collapse file tree 2 files changed +42
-47
lines changed Expand file tree Collapse file tree 2 files changed +42
-47
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on : [push, pull_request]
3
+
4
+ jobs :
5
+ build :
6
+ name : Build
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ os :
12
+ - ubuntu-latest
13
+ - macos-latest
14
+ # llvm 9 build is broken on windows for now. Re-enable this when it is fixed:
15
+ # - windows-latest
16
+ steps :
17
+ - uses : actions/checkout@master
18
+ with :
19
+ submodules : true
20
+ - run : |
21
+ # Windows releases of LLVM don't include the llvm-nm tool, which is needed for building
22
+ # wasi-libc. Rust's llvm-tools include llvm-nm, and Rust is installed on Azure's Windows
23
+ # images, so we can use that to make llvm-nm available without too much overhead.
24
+ rustup update stable
25
+ rustup default stable
26
+ rustup component add llvm-tools-preview
27
+ echo "::set-env name=WASM_NM::$(rustc --print sysroot|sed 's|C:|/c|'|sed 's|\\|/|g')/lib/rustlib/x86_64-pc-windows-msvc/bin/llvm-nm.exe"
28
+ shell: bash
29
+ name: Install llvm-nm (Windows)
30
+ if: matrix.os == 'windows-latest'
31
+ - run : choco install ninja
32
+ name : Install Ninja (Windows)
33
+ if : matrix.os == 'windows-latest'
34
+ - run : brew install ninja
35
+ name : Install Ninja (macOS)
36
+ if : matrix.os == 'macos-latest'
37
+ - run : sudo apt install ninja-build
38
+ name : Install Ninja (Linux)
39
+ if : matrix.os == 'ubuntu-latest'
40
+ - run : sudo make -j4 package
41
+ shell : bash
42
+ name : Build
You can’t perform that action at this time.
0 commit comments