Update ci.yml

Attempt to fix Ubuntu dependencies, add macosx
This commit is contained in:
Nathan Scott 2020-08-17 15:40:47 +10:00 committed by GitHub
parent c86ac5cf98
commit 6cd1615863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 10 deletions

View File

@ -7,17 +7,23 @@ on:
branches: [ master ] branches: [ master ]
jobs: jobs:
build: build-ubuntu-latest:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: prepare
run: sudo apt-get install libncurses-dev
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
- name: make - name: make
run: make run: |
sudo apt-get install libncurses-dev
./autogen.sh
./configure
make
build-macos-latest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: make
run: |
./autogen.sh
./configure
make