Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rs/toolchain@v1
Expand All @@ -30,13 +31,13 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y qt5-default
sudo apt-get install -y qtbase5-dev qt5-qmake qtchooser qtbase5-dev-tools

- name: Set up Qt for macOS
if: matrix.os == 'macos-latest'
run: |
brew install qt5
echo "/usr/local/opt/qt/bin" >> $GITHUB_PATH
echo "$(brew --prefix qt5)/bin" >> $GITHUB_PATH

- name: Set up Qt for Windows
if: matrix.os == 'windows-latest'
Expand Down Expand Up @@ -79,7 +80,7 @@ jobs:
shell: bash

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rtop-${{ matrix.os }}
path: rtop-${{ matrix.os }}.*
Expand All @@ -90,7 +91,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts

Expand Down Expand Up @@ -120,3 +121,4 @@ jobs:
done
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ github.token }}
Loading