Skip to content

Commit

Permalink
[DBG] windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Oct 19, 2024
1 parent 198bf20 commit e1f2d9e
Showing 1 changed file with 1 addition and 51 deletions.
52 changes: 1 addition & 51 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-24.04, macos-14, windows-2022]
os: [windows-2022]
shared_libs: ['ON', 'OFF']
include:
- os: ubuntu-22.04
package_manager: "apt"
test: "ON"

- os: ubuntu-24.04
package_manager: "apt"
test: "ON"

- os: macos-14
package_manager: "brew"
test: "OFF"

- os: windows-2022
package_manager: "vcpkg"
test: "OFF"
Expand Down Expand Up @@ -129,41 +117,3 @@ jobs:
if: ${{ matrix.test == 'ON' }}
run: |
cmake --build build --target test
emscripten:
runs-on: ubuntu-22.04

steps:
- name: Checkout Pangolin
uses: actions/checkout@v4

- name: install build dependencies
run: |
sudo apt update
sudo apt install -y emscripten ninja-build libeigen3-dev catch2
- name: Configure Pangolin
run: emcmake cmake -G Ninja -B pangolin-build -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D BUILD_PANGOLIN_PYTHON=OFF -D Eigen3_DIR=/usr/share/eigen3/cmake/

- name: Build Pangolin
run: cmake --build pangolin-build

- name: Copy Examples to www folder
run: |
mkdir -p ${{runner.workspace}}/www/emscripten
rsync -zarvm --include="*/" --include="*.html" --include="*.js" --include="*.wasm" --exclude="*" pangolin-build/examples ${{runner.workspace}}/www/emscripten
- name: Copy README to www folder
run: |
cp "${{github.workspace}}/README.md" "${{runner.workspace}}/www/index.md"
- name: Deploy Examples to GitHub Pages (for pushes to master)
if: success() && (github.ref == 'refs/heads/master')
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
keep_history: true
# build_dir path relative to ${{runner.workspace}}/Pangolin
build_dir: ../www
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e1f2d9e

Please sign in to comment.