-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from AkihiroSuda/gha
configure.ac: Downgrade autoconf from 2.71 to 2.59 ; Add CI (GitHub Actions)
- Loading branch information
Showing
2 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: "CI" | ||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
smoke: | ||
name: "Smoke test" | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, macos-11] | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 30 | ||
steps: | ||
- name: "Check out" | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- name: "Install dependencies (Linux)" | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y autoconf automake | ||
- name: "Install dependencies (macOS)" | ||
if: runner.os == 'macOS' | ||
run: brew install autoconf automake | ||
- name: "Build" | ||
run: | | ||
autoreconf -fis | ||
./configure --prefix=/opt/vde | ||
make | ||
sudo make install | ||
- name: "Smoke test" | ||
run: | | ||
/opt/vde/bin/vde_switch --version |
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