Skip to content

Commit

Permalink
CI: Move Azure Pipelines, CircleCI jobs to GitHub Actions (#317)
Browse files Browse the repository at this point in the history
* ci: create wasm32-emscripten check
* ci: merge workflows into build.yml
* ci: create weekly-maintenance.yml
* ci: move Vulkan test to build.yml
* ci: move Android test to build.yml
  • Loading branch information
luncliff authored Feb 9, 2025
1 parent d9a37c1 commit 5806217
Show file tree
Hide file tree
Showing 13 changed files with 269 additions and 313 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/build-macos.yml

This file was deleted.

80 changes: 0 additions & 80 deletions .github/workflows/build-ubuntu.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/build-windows-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,63 +135,3 @@ jobs:
with:
additional-path: "C:/vcpkg/buildtrees,C:/vcpkg/packages"
if: always()

overlay_vulkan:
runs-on: ["self-hosted", "Windows"]
# needs: ["overlay"]
continue-on-error: true
timeout-minutes: 300
strategy:
matrix:
include:
- vcpkg_tag: "2025.01.13"
vcpkg_commit: "6f29f12e82a8293156836ad81cc9bf5af41fe836"
fail-fast: false
env:
VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports"
VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets"
steps:
- uses: actions/checkout@v4.2.2
- uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64

- uses: humbletim/install-vulkan-sdk@v1.1.1 # install Vulkan sdk if env.VULKAN_SDK is empty
if: env.VULKAN_SDK == ''
with:
version: "1.3.239.0"
cache: true
continue-on-error: true

- name: "Enable LongPath"
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
git config --system core.longpaths true
shell: pwsh
continue-on-error: true

- name: "Change vcpkg.json"
run: |
New-Item -Type Directory -Force C:/vcpkg-caches
Move-Item -Path "test/self-hosted.json" -Destination "test/vcpkg.json" -Force
shell: pwsh

- uses: lukka/run-vcpkg@v11.5
name: "Run vcpkg(x64-windows, ${{ matrix.vcpkg_tag }})"
with:
vcpkgDirectory: "C:/vcpkg"
vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}"
vcpkgJsonGlob: "test/vcpkg.json"
vcpkgConfigurationJsonGlob: "test/vcpkg-configuration.json"
runVcpkgInstall: true
runVcpkgFormatString: '[`install`, `--keep-going`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`, `--x-feature`, `vulkan`]'
env:
VCPKG_DEFAULT_TRIPLET: "x64-windows"
VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }};files,C:/vcpkg-caches,readwrite"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- uses: yumis-coconudge/clean-workspace-action@v1.0.6
with:
additional-path: "C:/vcpkg/buildtrees,C:/vcpkg/packages"
if: always()
69 changes: 0 additions & 69 deletions .github/workflows/build-windows.yml

This file was deleted.

Loading

0 comments on commit 5806217

Please sign in to comment.