From 8e9a4cfc02320454a74167d17f97fb60eec61864 Mon Sep 17 00:00:00 2001 From: Daniel Serpell Date: Sun, 5 May 2024 22:49:36 -0400 Subject: [PATCH 1/2] Update github actions to latest version. --- .github/workflows/c-cpp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 97f9356..831ad55 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' - name: make @@ -36,7 +36,7 @@ jobs: name: Build and run tests on MacOS M1 (ARM64) runs-on: macos-14 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' - name: make @@ -57,7 +57,7 @@ jobs: name: Build and run tests on Windows runs-on: windows-2019 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' - name: Setup 32-bit compiler From 57031df27402d83d9976104af3ab56915ec2d6c0 Mon Sep 17 00:00:00 2001 From: Daniel Serpell Date: Sun, 5 May 2024 22:54:41 -0400 Subject: [PATCH 2/2] Use static build in Windows CI to allow running without the DLLs. --- .github/workflows/c-cpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 831ad55..b15851c 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -74,7 +74,7 @@ jobs: - name: make run: | i686-w64-mingw32-gcc -v - make -j2 + make OPTFLAGS="-O2 -static" -j2 shell: bash - name: running testsuite run: make test -j2 @@ -97,7 +97,7 @@ jobs: - name: make run: | x86_64-w64-mingw32-gcc -v - make -j2 + make OPTFLAGS="-O2 -static" -j2 shell: bash - name: running testsuite run: make test -j2