Skip to content

Commit

Permalink
first stab at a github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Mar 8, 2024
1 parent 45bcb21 commit a76b2fc
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/ubuntu_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: Ubuntu

on:
pull_request:
push:
branches:
- master

jobs:
tests:
env:
COLORTERM: truecolor
NPROC: 2
TERM: xterm
name: 🐧 build, test, & install
runs-on: ubuntu-latest

steps:

- name: Install tools and libraries via APT
run: |
sudo apt update
sudo apt install -y \
build-essential \
cmake \
nettle-dev
- uses: actions/checkout@v2

- name: cmake
run: |
mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release
- name: make
run: |
cd build
make -j${NPROC}
- name: ctest
run: |
cd build
ctest --output-on-failure
- name: make install
run: |
cd build
sudo make install

0 comments on commit a76b2fc

Please sign in to comment.