Update build.yml

pull/13/head
Reion Wong 5 years ago committed by GitHub
parent 53c9fcb3ab
commit d9b5cabc2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,16 +6,8 @@ on:
pull_request:
branches: [ main ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
steps:
@ -23,13 +15,13 @@ jobs:
uses: actions/checkout@v2
- name: Update repository
run: apt-get update -y
run: sudo apt-get update -y
- name: Install the basic dev packages
run: apt-get install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++
run: sudo apt-get install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++
- name: Install build dependencies
run: mk-build-deps -i -t "apt-get --yes" -r
run: sudo mk-build-deps -i -t "apt-get --yes" -r
- name: Build
run: mkdir build; cd build; cmake .. ; make -j$(nproc);

Loading…
Cancel
Save