Skip to content

Commit

Permalink
Update Github Actions
Browse files Browse the repository at this point in the history
* Remove 32-bit builds from Windows workflow. MSYS2 has deprecated many
  32-bit packages.
* Add CLANG builds for Windows workflow
* Update to actions/checkout@v4 and actions/upload-artifact@v4

See https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
  • Loading branch information
leonlynch committed Feb 3, 2024
1 parent 77e900f commit a5b4e80
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/fedora-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
sudo dnf -y install git cmake gcc mbedtls-devel
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
sudo dnf -y install git cmake gcc mbedtls-devel bash-completion doxygen rpm-build
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
run: cmake --build build --target package

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tr31-${{ env.GIT_DESCRIBE }}-fedora${{ matrix.fedora_version }}
path: build/tr31-*.rpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
echo "CMAKE_REQUIRE_FIND_PACKAGE_MbedTLS=YES" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- run: git describe --always --dirty
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sudo apt-get install -y libmbedtls-dev
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- run: git describe --always --dirty
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
sudo apt-get install -y libmbedtls-dev doxygen
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -85,7 +85,7 @@ jobs:
run: cmake --build build --target package

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tr31-${{ env.GIT_DESCRIBE }}-${{ matrix.os }}
path: build/tr31_*.deb
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
include:
- { sys: mingw64, env: x86_64, build_type: "Debug", lib_type: "static", shared_libs: "NO", fetch_deps: YES }
- { sys: mingw64, env: x86_64, build_type: "Release", lib_type: "dll", shared_libs: "YES", fetch_deps: NO }
- { sys: mingw32, env: i686, build_type: "Debug", lib_type: "dll", shared_libs: "YES", fetch_deps: YES }
- { sys: mingw32, env: i686, build_type: "Release", lib_type: "static", shared_libs: "NO", fetch_deps: NO }
- { sys: ucrt64, env: ucrt-x86_64, build_type: "Debug", lib_type: "static", shared_libs: "NO", fetch_deps: YES }
- { sys: ucrt64, env: ucrt-x86_64, build_type: "Release", lib_type: "dll", shared_libs: "YES", fetch_deps: NO }
- { sys: clang64, env: clang-x86_64, build_type: "Debug", lib_type: "dll", shared_libs: "YES", fetch_deps: NO }
- { sys: clang64, env: clang-x86_64, build_type: "Release", lib_type: "static", shared_libs: "NO", fetch_deps: YES }

name: Windows MSYS2 ${{matrix.sys}} build (${{ matrix.lib_type }}/${{ matrix.build_type }})

Expand All @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down

0 comments on commit a5b4e80

Please sign in to comment.