From e1f2d9edc22d4a3248d8209c60a12f110802532f Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sat, 19 Oct 2024 10:52:54 +0200 Subject: [PATCH] [DBG] windows only --- .github/workflows/build.yml | 52 +------------------------------------ 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d9469589..ffaae8451 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" @@ -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 }}