diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-07-21 08:13:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-07-21 08:13:15 (GMT) |
commit | 7a181a2a287248e853295694393c9a86ddf76dc7 (patch) | |
tree | b7011500b04187016b27f9640ee8039c47cd7c12 /.github | |
parent | 87c60afb2f34f7dac03a102a12c8b87757d00188 (diff) | |
parent | 6cc9524fbbe316cd78104df6eb7929ea58c064aa (diff) | |
download | tcl-7a181a2a287248e853295694393c9a86ddf76dc7.zip tcl-7a181a2a287248e853295694393c9a86ddf76dc7.tar.gz tcl-7a181a2a287248e853295694393c9a86ddf76dc7.tar.bz2 |
Merge 8.7
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/onefiledist.yml | 14 | ||||
-rw-r--r-- | .github/workflows/win-build.yml | 15 |
2 files changed, 18 insertions, 11 deletions
diff --git a/.github/workflows/onefiledist.yml b/.github/workflows/onefiledist.yml index b5caa4e..42d0fac 100644 --- a/.github/workflows/onefiledist.yml +++ b/.github/workflows/onefiledist.yml @@ -103,12 +103,18 @@ jobs: runs-on: windows-latest defaults: run: - shell: bash + shell: msys2 {0} + env: + CC: gcc + CFGOPT: --disable-symbols --disable-shared steps: - - name: Checkout - uses: actions/checkout@v2 - name: Install MSYS2 uses: msys2/setup-msys2@v2 + with: + msystem: MINGW64 + install: git mingw-w64-x86_64-toolchain make zip + - name: Checkout + uses: actions/checkout@v2 - name: Prepare run: | touch generic/tclStubInit.c generic/tclOOStubInit.c @@ -116,7 +122,7 @@ jobs: mkdir 1dist working-directory: . - name: Configure - run: ./configure --disable-symbols --disable-shared --enable-zipfs + run: ./configure $CFGOPT working-directory: win - name: Build run: | diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml index 5148a47..64c9eb4 100644 --- a/.github/workflows/win-build.yml +++ b/.github/workflows/win-build.yml @@ -1,5 +1,7 @@ name: Windows on: [push] +env: + ERROR_ON_FAILURES: 1 jobs: msvc: runs-on: windows-latest @@ -39,14 +41,12 @@ jobs: if ($lastexitcode -ne 0) { throw "nmake exit code: $lastexitcode" } - env: - ERROR_ON_FAILURES: 1 CI_BUILD_WITH_MSVC: 1 gcc: runs-on: windows-latest defaults: run: - shell: bash + shell: msys2 {0} working-directory: win strategy: matrix: @@ -58,10 +58,13 @@ jobs: - "--enable-symbols=mem" # Using powershell means we need to explicitly stop on failure steps: + - name: Install MSYS2 + uses: msys2/setup-msys2@v2 + with: + msystem: MINGW64 + install: git mingw-w64-x86_64-toolchain make - name: Checkout uses: actions/checkout@v2 - - name: Install MSYS2 and Make - run: choco install msys2 make - name: Prepare run: | touch tclStubInit.c tclOOStubInit.c tclOOScript.h @@ -78,8 +81,6 @@ jobs: run: make tcltest - name: Run Tests run: make test - env: - ERROR_ON_FAILURES: 1 # If you add builds with Wine, be sure to define the environment variable # CI_USING_WINE when running them so that broken tests know not to run. |