Skip to content

Commit

Permalink
CI: updated versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Apr 3, 2024
1 parent 2cb1653 commit 827f002
Showing 1 changed file with 22 additions and 24 deletions.
46 changes: 22 additions & 24 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@ on:

jobs:
BuildLinux:
runs-on: ubuntu-22.04
env:
platform_version: 22.04
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@main
with:
fetch-depth: 0

- name: Install Qt6
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@master
with:
version: '6.5.*'
version: '6.6.*'

- name: Install Qt and dependencies
run: |
Expand Down Expand Up @@ -65,7 +63,7 @@ jobs:
./CI/build-appimg.sh
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@main
with:
name: assets
path: LibreCAD*.AppImage
Expand All @@ -75,14 +73,14 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@main
with:
fetch-depth: 0

- name: Install Qt6
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@master
with:
version: '6.5.*'
version: '6.6.*'

- name: Install boost dependencies
run: |
Expand All @@ -94,7 +92,7 @@ jobs:
mv LibreCAD.dmg LibreCAD-`git describe --always`.dmg
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@main
with:
name: assets
path: LibreCAD*.dmg
Expand All @@ -104,7 +102,7 @@ jobs:
runs-on: windows-2019
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@main
with:
fetch-depth: 0

Expand All @@ -114,14 +112,14 @@ jobs:
choco uninstall strawberryperl --force
- name: Install MinGW8.1 64-bit
uses: msys2/setup-msys2@v2
uses: msys2/setup-msys2@main
with:
msystem: MINGW64

- name: Install Qt6
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@master
with:
version: '6.5.3'
version: '6.6.3'
host: 'windows'
arch: 'win64_mingw'
target: 'desktop'
Expand All @@ -137,9 +135,9 @@ jobs:
- name: Install boost
shell: bash
run: |
curl -# -L -o boost.7z https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.7z
curl -# -L -o boost.7z https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.7z
7z x -o. -y boost.7z
mv boost_1_75_0 ../boost
mv boost_1_83_0 ../boost
rm boost.7z
- name: Debugging
Expand All @@ -162,11 +160,11 @@ jobs:
echo.
dir ..\Qt
echo.
dir ..\Qt\6.5.3\
dir ..\Qt\6.6.3\
echo.
dir ..\Qt\6.5.3\mingw_64\
dir ..\Qt\6.6.3\mingw_64\
echo.
dir ..\Qt\6.5.3\mingw_64\bin
dir ..\Qt\6.6.3\mingw_64\bin
- name: Build
run: |
Expand All @@ -185,7 +183,7 @@ jobs:
shell: bash

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@main
with:
name: assets
path: LibreCAD-Installer*.exe
Expand All @@ -194,15 +192,15 @@ jobs:
UpdateAssets:
if: github.repository_owner == 'LibreCAD'
needs: [BuildLinux, BuildMacOS, BuildWindows64]
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@main
with:
fetch-depth: 0

- name: Fetch artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@main

- name: Upload latest pre-release
uses: "marvinpinto/action-automatic-releases@latest"
Expand Down

0 comments on commit 827f002

Please sign in to comment.