Skip to content

Commit

Permalink
Add workflow to build dynamips in linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviojs committed Apr 6, 2024
1 parent a103370 commit 9f37cd8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Github CI
on: [push, pull_request]

env:
CARGO_TERM_COLOR: always

jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get -yq update
sudo apt-get -yq install libelf-dev libpcap0.8-dev
- name: Install rust
run: |
curl --proto '=https' --tlsv1.2 -sSfL https://sh.rustup.rs | sh -s -- -y -v
- name: Build
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDYNAMIPS_CODE=both ..
make

0 comments on commit 9f37cd8

Please sign in to comment.