diff options
| author | Rory OConnell <[email protected]> | 2020-07-05 20:59:49 -0700 |
|---|---|---|
| committer | Rory OConnell <[email protected]> | 2020-07-05 20:59:49 -0700 |
| commit | 5c7adf0534ce2c9683308d7ada8ee93cd01a1b01 (patch) | |
| tree | d11f7c68f72980b823f5d06b1691ef11e721f685 /.github | |
| parent | 4f189b2be91f577359bea5be8e5c504e1a4eb1d8 (diff) | |
| download | mruby-5c7adf0534ce2c9683308d7ada8ee93cd01a1b01.tar.gz mruby-5c7adf0534ce2c9683308d7ada8ee93cd01a1b01.zip | |
separate build and test steps, remove MSC
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c6fa34b4..392ec7c1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,8 +9,10 @@ jobs: - uses: actions/checkout@v1 - name: apt run: sudo apt install ruby gperf - - name: build and test - run: rake -m -j4 all test + - name: build + run: rake -m -j4 all + - name: test + run: rake test env: MRUBY_CONFIG: travis_config.rb @@ -20,8 +22,10 @@ jobs: - uses: actions/checkout@v1 - name: apt run: sudo apt install ruby gperf gcc g++ - - name: build and test - run: rake -m -j4 all test + - name: build + run: rake -m -j4 all + - name: test + run: rake test env: MRUBY_CONFIG: travis_config.rb CC: gcc @@ -33,8 +37,10 @@ jobs: - uses: actions/checkout@v1 - name: apt run: sudo apt install ruby gperf - - name: build and test - run: rake -m -j4 all test + - name: build + run: rake -m -j4 all + - name: test + run: rake test env: MRUBY_CONFIG: travis_config.rb CC: clang @@ -46,8 +52,10 @@ jobs: - uses: actions/checkout@v1 - name: brew run: brew install ruby gperf - - name: build and test - run: rake -m -j4 all test + - name: build + run: rake -m -j4 all + - name: test + run: rake test env: MRUBY_CONFIG: travis_config.rb @@ -57,8 +65,10 @@ jobs: - uses: actions/checkout@v1 - name: chocolatey run: choco install -y ruby gperf - - name: build and test - run: rake -E '$stdout.sync=true' -j4 test + - name: build + run: rake -E '$stdout.sync=true' -m -j4 + - name: test + run: rake -E 'STDOUT.sync=true' test env: MRUBY_CONFIG: travis_config.rb CFLAGS: -g -O1 -Wall -Wundef @@ -82,22 +92,11 @@ jobs: - name: Set ENV run: | echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin' - - name: build and test + - name: build shell: cmd - run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -m -j4 -E 'STDOUT.sync=true' test - env: - MRUBY_CONFIG: travis_config.rb - - Windows-VC: - runs-on: windows-latest - steps: - - uses: actions/checkout@v1 - - name: chocolatey - run: choco install -y ruby gperf - - name: build and test + run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -m -j4 -E 'STDOUT.sync=true' + - name: test shell: cmd - run: | - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - rake -E "STDOUT.sync=true" -m -j4 test + run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -E 'STDOUT.sync=true' test env: - MRUBY_CONFIG: appveyor_config.rb + MRUBY_CONFIG: travis_config.rb |
