diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-16 11:44:31 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-16 12:15:55 +0900 |
commit | 466d3e68da5df4f76d87332ff6786a391cc8bde4 (patch) | |
tree | 89bd45963fa2745cdc7278c263cc367a429c82eb /.github | |
parent | b52862d35f21710d473921b625f2104be01db900 (diff) |
Just update sources in CI without fetching
Also install external libraries only, extract-gems does not work
unless base ruby is available.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/compilers.yml | 8 | ||||
-rw-r--r-- | .github/workflows/macos.yml | 5 | ||||
-rw-r--r-- | .github/workflows/mingw.yml | 9 | ||||
-rw-r--r-- | .github/workflows/mjit.yml | 5 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 5 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 5 |
6 files changed, 29 insertions, 8 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index b830b7c91a..9314cc24c4 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -164,15 +164,15 @@ jobs: ${default_configure} \ ${append_configure} \ --with-gcc="${default_cc} ${append_cc}" - - run: $make incs + - name: Update include files + run: | + $make touch-unicode-files + $make $UPDATE_UNICODE -o update-src incs working-directory: build - run: $make working-directory: build - run: $make test working-directory: build - - run: $make $UPDATE_UNICODE up - working-directory: build - if: "matrix.entry.name == '-O3'" - run: $make install working-directory: build if: "matrix.entry.name == '-O3'" diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index fd38b77e5b..18e3d25a2d 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -38,6 +38,11 @@ jobs: - name: Run configure run: ../src/configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline) working-directory: build + - name: Update + run: | + make touch-unicode-files + make -o update-src up + working-directory: build - run: make $JOBS working-directory: build - run: make prepare-gems diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index fa3410ee9c..95abd3300d 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -72,11 +72,16 @@ jobs: # Write-Host "-------------------------------------- config.log" # Get-Content ./config.log | foreach {Write-Output $_} - - name: download unicode, gems, etc + - name: update + working-directory: build + run: | + $jobs = [int](2 * $env:NUMBER_OF_PROCESSORS) + make -j $jobs incs + + - name: download gems working-directory: build run: | $jobs = [int](2 * $env:NUMBER_OF_PROCESSORS) - make -j $jobs update-unicode make -j $jobs update-gems - name: make all diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index c804683ad0..d575615937 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -41,6 +41,11 @@ jobs: - name: Run configure run: ../src/configure -C --disable-install-doc working-directory: build + - name: Update include files + run: | + make touch-unicode-files + make $JOBS -o update-src incs + working-directory: build - run: make $JOBS working-directory: build - run: sudo make $JOBS -s install diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 9f588f0fec..ef134d72f7 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -55,6 +55,11 @@ jobs: - name: Run configure run: ../src/configure -C --disable-install-doc cppflags=${{ matrix.debug }} working-directory: build + - name: Update include files + run: | + make $JOBS touch-unicode-files + make $JOBS -o update-src up + working-directory: build - run: make $JOBS working-directory: build - run: make prepare-gems diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a3822c357f..9e9b512754 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -55,8 +55,9 @@ jobs: call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat" set YACC=win_bison echo on - nmake up - nmake extract-gems + nmake touch-unicode-files + nmake incs + nmake extract-extlibs nmake working-directory: build shell: cmd |