Only add libatomic to gcc builds #271
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install dependencies | |
run: sudo apt update && sudo apt install libsane-dev libjpeg-dev libpng-dev libavahi-client-dev libusb-1.*-dev | |
- name: set up directories | |
run: mkdir ./build | |
- name: configure | |
run: cd build && cmake .. | |
- name: make | |
run: cd build && make |