Skip to content

Commit

Permalink
add ubuntu test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kei18 committed Feb 18, 2024
1 parent bb1e88b commit 21c0e5d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '.github/workflows/**'

jobs:
build-osx:
build-macos:
runs-on: macos-latest

steps:
Expand All @@ -17,4 +17,20 @@ jobs:
submodules: true

- name: build
run: bash ./third_party/openFrameworks/scripts/osx/download_libs.sh && make
run: bash ./third_party/openFrameworks/scripts/osx/download_libs.sh && make -j4

build-ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: false

- name: build
run: |
wget -O third_party/openFrameworks.tar.gz https://github.com/openframeworks/openFrameworks/releases/download/0.11.2/of_v0.11.2_linux64gcc6_release.tar.gz
tar -xzvf third_party/openFrameworks.tar.gz -C third_party --strip-components=1 --one-top-level=openFrameworks
sudo third_party/openFrameworks/scripts/linux/ubuntu/install_dependencies.sh
sudo third_party/openFrameworks/scripts/linux/ubuntu/install_codecs.sh
make -j4
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Based on [openFrameworks](https://openframeworks.cc/), written in C++
git clone --recursive https://github.com/Kei18/mapf-visualizer.git
cd mapf-visualizer
bash third_party/openFrameworks/scripts/osx/download_libs.sh
make
make -j4
echo "export PATH=$(pwd)/bin/mapf-visualizer.app/Contents/MacOS:\$PATH" >> ~/.bashrc
```

Expand All @@ -44,7 +44,7 @@ wget -O third_party/openFrameworks.tar.gz https://github.com/openframeworks/open
tar -xzvf third_party/openFrameworks.tar.gz -C third_party --strip-components=1 --one-top-level=openFrameworks
sudo third_party/openFrameworks/scripts/linux/ubuntu/install_dependencies.sh
sudo third_party/openFrameworks/scripts/linux/ubuntu/install_codecs.sh
make
make -j4
echo "export PATH=$(pwd)/bin:\$PATH" >> ~/.bashrc
```

Expand Down

0 comments on commit 21c0e5d

Please sign in to comment.