Move CI to github.
Some checks failed
Build / Build (pull_request) Failing after 9s
Some checks failed
Build / Build (pull_request) Failing after 9s
Why not, it's free.
This commit is contained in:
50
.github/workflows/build.yaml
vendored
Normal file
50
.github/workflows/build.yaml
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
QT_VERSION: 6.7.3
|
||||
QMAKE: ${{ github.workspace }}/${{ env.QT_VERSION }}/gcc_64/bin/qmake
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install apt packages
|
||||
run: |
|
||||
sudo apt update -y
|
||||
sudo apt install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
curl \
|
||||
libgl1-mesa-dev \
|
||||
python3 \
|
||||
python3-pip
|
||||
|
||||
- name: Install aqtinstall
|
||||
run: |
|
||||
python3 -m pip install aqtinstall
|
||||
|
||||
- name: Install Qt
|
||||
run: |
|
||||
aqt install-qt linux desktop $QT_VERSION linux_gcc_64
|
||||
|
||||
- name: Build clide
|
||||
run: |
|
||||
cargo b --release
|
||||
|
||||
- name: Test libclide
|
||||
run: |
|
||||
cargo test -p libclide
|
||||
|
||||
- name: Test clide
|
||||
run: |
|
||||
cargo test
|
||||
Reference in New Issue
Block a user