diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-07-23 10:03:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-07-23 10:03:15 (GMT) |
commit | 439e18d8d97d345447b001e83a10033c47753e94 (patch) | |
tree | 777cd46ae060d7e852568bd5c68ebeb94a43b97c /.github/workflows | |
parent | c39b5671ce09873e8b66edc4d83c2295c39e2ccf (diff) | |
parent | 95e8a2b516897e961eabd87f446bd182d05d3455 (diff) | |
download | tcl-439e18d8d97d345447b001e83a10033c47753e94.zip tcl-439e18d8d97d345447b001e83a10033c47753e94.tar.gz tcl-439e18d8d97d345447b001e83a10033c47753e94.tar.bz2 |
Merge 8.7. Re-implement testConstraint knownMsvcBug in terms of tcl::build-info
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/onefiledist.yml | 14 | ||||
-rw-r--r-- | .github/workflows/win-build.yml | 16 |
2 files changed, 18 insertions, 12 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 7520704..5c787f5 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 @@ -40,14 +42,11 @@ 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: @@ -60,10 +59,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 @@ -80,8 +82,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. |