-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Ubuntu 24.04 | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build_gcc_cmake: | ||
name: gcc and cmake | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Install dependencies | ||
run: "sudo apt-get update && sudo apt-get install -y --fix-broken | ||
git make libtool pkg-config cmake libarchive-tools | ||
qtdeclarative5-dev libqt5svg5-dev | ||
qttools5-dev-tools qttools5-dev | ||
qtmultimedia5-dev" | ||
- name: Install libsailfishapp | ||
run: "git clone https://github.com/sailfish-sdk/libsailfishapp.git dependencies/libsailfishapp && | ||
cd dependencies/libsailfishapp && | ||
git checkout tags/0.0.5 -b 0.0.5 && | ||
qmake PREFIX=/usr . && | ||
make && | ||
sudo make install" | ||
- name: Configure build project | ||
run: cmake -B build -DCMAKE_UNITY_BUILD=ON -Wno-dev | ||
- name: Build project | ||
run: cmake --build build -- all | ||
- name: Run tests | ||
run: ctest --output-on-failure | ||
working-directory: build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters