diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-08 21:14:19 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-08 21:14:19 +0900 |
| commit | 6587269af8800831f2175ae04ca738328b9b1308 (patch) | |
| tree | 3388c53575e1e772ac142d0c746464763ed71963 /.github/workflows | |
| parent | a0c1e075e35c358d21934c28ff1bec4153502409 (diff) | |
| parent | 3a8d7bdf82dddb8d5e54330503d9ed11b4f68ad0 (diff) | |
| download | mruby-6587269af8800831f2175ae04ca738328b9b1308.tar.gz mruby-6587269af8800831f2175ae04ca738328b9b1308.zip | |
Merge pull request #5267 from shuujii/delay-test-code-build-until-rake-test
Delay test code build until `rake test`
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e530ae5e..135e39ca7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - name: Compiler version run: ${{ env.CC }} --version - name: Build and test - run: rake -m && rake test + run: rake -m test:build && rake test:run Ubuntu-1804-gcc: needs: Check-Skip @@ -40,7 +40,7 @@ jobs: - name: Compiler version run: ${{ env.CC }} --version - name: Build and test - run: rake -m && rake test + run: rake -m test:build && rake test:run Ubuntu-1804-clang: needs: Check-Skip @@ -55,7 +55,7 @@ jobs: - name: Compiler version run: ${{ env.CC }} --version - name: Build and test - run: rake -m && rake test + run: rake -m test:build && rake test:run macOS: needs: Check-Skip @@ -70,7 +70,7 @@ jobs: - name: Compiler version run: ${{ env.CC }} --version - name: Build and test - run: rake -m && rake test + run: rake -m test:build && rake test:run Windows-MinGW: needs: Check-Skip @@ -85,9 +85,7 @@ jobs: - name: Compiler version run: ${{ env.CC }} --version - name: Build and test - # If build and test are separated like `rake && rake test`, somehow - # it will be fully built even at `rake test`, so it is not separated. - run: rake test + run: rake -m test:build && rake test:run Windows-Cygwin: needs: Check-Skip @@ -130,7 +128,7 @@ jobs: run: ${{ env.CC }} --version - name: Build and test shell: cmd - run: ruby /usr/bin/rake -m && ruby /usr/bin/rake test + run: ruby /usr/bin/rake -m test:build && ruby /usr/bin/rake test:run - name: Set PATH for cache archiving (tar) # set Windows path so that Cygwin tar is not used for cache archiving run: echo '::set-env name=PATH::C:\windows\System32' @@ -148,4 +146,4 @@ jobs: shell: cmd run: | call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - rake -m && rake test + rake -m test:build && rake test:run |
