Skip to content

Commit

Permalink
CI: v3 all the things
Browse files Browse the repository at this point in the history
Why are all the CI actions at v3 now?  Who knows, just roll with it...
  • Loading branch information
zrax committed Jun 6, 2023
1 parent 14c52f1 commit 710a854
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true

Expand All @@ -14,7 +14,7 @@ jobs:
sudo apt-get install -y libkf5syntaxhighlighting-dev ninja-build qtbase5-dev
- name: Checkout string_theory
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: zrax/string_theory
path: string_theory
Expand All @@ -27,7 +27,7 @@ jobs:
cmake --build . --target install
- name: Checkout HSPlasma
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: H-uru/libhsplasma
path: libhsplasma
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/windows-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- { os: windows-2019, generator: Visual Studio 16 2019, cmake-arch: x64, triplet: x64-windows-static-md, kf5: v5.106.0, qt: 5.15.2, qt_arch: win64_msvc2019_64 }

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true

Expand All @@ -26,7 +26,7 @@ jobs:
- name: Restore Dependency Cache
id: cache-vcpkg
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: C:\vcpkg\installed
key: |
Expand All @@ -42,29 +42,28 @@ jobs:
- name: Build Dependencies
run: |
vcpkg install `@vcpkg.txt --triplet ${{ matrix.cfg.triplet }}
vcpkg install "@${{ github.workspace }}\vcpkg.txt" --triplet ${{ matrix.cfg.triplet }}
vcpkg list --x-full-desc
# Qt5 takes roughly a thousand years to build, so we download it from elsewhere...
- name: Restore Qt Cache
id: cache-qt
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ github.workspace }}\qt
key: os=${{ runner.os }} qt=${{ matrix.cfg.qt }} arch=${{ matrix.cfg.qt-arch }}

- name: Install Qt
uses: jurplel/install-qt-action@v2
uses: jurplel/install-qt-action@v3
with:
arch: ${{ matrix.cfg.qt-arch }}
version: ${{ matrix.cfg.qt }}
dir: ${{ github.workspace }}\qt
cached: ${{ steps.cache-qt.outputs.cache-hit }}
aqtversion: ==0.9.*

# KF5SyntaxHighlighting and ecm release in lock-step
- name: Checkout ECM
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: KDE/extra-cmake-modules
path: ecm
Expand All @@ -83,7 +82,7 @@ jobs:
# Build KF5SyntaxHighlighting manually due to Qt dependency...
- name: Checkout KF5SyntaxHighlighting
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: KDE/syntax-highlighting
path: syntax-highlighting
Expand All @@ -103,7 +102,7 @@ jobs:
cmake --build . --config Release --target INSTALL
- name: Checkout HSPlasma
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: H-uru/libhsplasma
path: libhsplasma
Expand Down Expand Up @@ -143,7 +142,7 @@ jobs:
}
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-${{ matrix.cfg.cmake-arch }}-qt${{ matrix.cfg.qt }}
path: install\bin

0 comments on commit 710a854

Please sign in to comment.