You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
core/.github/workflows/build.yml

40 lines
1022 B
YAML

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Update repository
run: sudo apt-get update -y
- name: Install the basic dev packages
run: sudo apt-get install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++
- name: Clone FishUI
run: git clone https://github.com/cutefishos/fishui.git
- name: Install FishUI dependencies
run: cd fishui ; sudo mk-build-deps -i -t "apt-get --yes" -r
- name: Build FishUI
run: mkdir build; cd build; cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. ; make -j$(nproc);
- name: Install FishUI
run: sudo make install
- name: Install build dependencies
run: sudo mk-build-deps -i -t "apt-get --yes" -r
- name: Build
run: mkdir build; cd build; cmake .. ; make -j$(nproc);