Files
clide/.gitea/workflows/build.yaml
Shaun Reed fc2a44740f
Some checks failed
Build / Build (pull_request) Failing after 4m36s
Build / Test (pull_request) Failing after 3s
Use ubuntu-latest.
2026-02-21 17:17:52 -05:00

62 lines
1.2 KiB
YAML

name: Build
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
jobs:
Build:
runs-on: ubuntu-latest
name: Build
env:
QT_VERSION: 6.7.3
QMAKE: ${{ env.CI_WORKSPACE }}/${{ env.QT_VERSION }}/gcc_64/bin/qmake
steps:
- uses: actions/checkout@v6
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Install apt packages
run: |
apt update -y
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: |
. "$HOME/.cargo/env"
cargo b --release
Test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Test libclide
run: |
. "$HOME/.cargo/env"
cargo test -p libclide
- name: Test clide
run: |
. "$HOME/.cargo/env"
cargo test