Fix Windows path error round 2 #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: facebook/redex/build_main | |
on: | |
pull_request: | |
branches: | |
- main | |
- stable | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: 0 0 * * * | |
env: | |
CACHE_VERSION: xxxxx1 | |
jobs: | |
build-20_04: | |
runs-on: 4-core-ubuntu | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: "./.github/actions/build_debian" | |
with: | |
job_name: ubuntu_20.04 | |
# `ubuntu-latest` runner out of space | |
# build-22_04: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4.1.1 | |
# - uses: "./.github/actions/build_debian" | |
# with: | |
# job_name: ubuntu_22.04 | |
build-deb_oldoldstable: | |
runs-on: 4-core-ubuntu | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: "./.github/actions/build_debian" | |
with: | |
use_sdk: true | |
job_name: debian_10 | |
build-deb_stable: | |
runs-on: 4-core-ubuntu | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: "./.github/actions/build_debian" | |
with: | |
job_name: debian_12 | |
# `mode_32` failed on boost lib | |
# build-deb_stable-32: | |
# runs-on: 4-core-ubuntu | |
# steps: | |
# - uses: actions/checkout@v4.1.1 | |
# - uses: "./.github/actions/build_debian" | |
# with: | |
# mode_32: true | |
# job_name: debian_12_32 | |
build-deb_unstable: | |
runs-on: 4-core-ubuntu | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: "./.github/actions/build_debian" | |
with: | |
job_name: debian_unstable | |
build-deb_stable-w-clang-llvm-org: | |
runs-on: 4-core-ubuntu | |
env: | |
CC: clang | |
CXX: clang++ | |
strategy: | |
matrix: | |
clang_version: | |
- 0 | |
- 15 | |
- 17 | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: "./.github/actions/build_debian" | |
with: | |
install_clang_llvm_org: "${{ matrix.clang_version }}" | |
job_name: debian_12_clang_upstream | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: "./.github/actions/setup-build-and-test-windows" | |
build-windows-artifacts: | |
if: github.event_name == 'schedule' | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: "./.github/actions/setup-build-and-test-windows" | |
- name: Copy package for github actions | |
run: mkdir artifacts && mv build/Redex*.zip artifacts/ | |
shell: bash | |
- uses: actions/upload-artifact@v4.0.0 | |
with: | |
path: ".\\artifacts" | |
build-deb_stable-w-clang-llvm-org_nightly: | |
if: github.event_name == 'schedule' | |
runs-on: ubuntu-latest | |
env: | |
CC: clang | |
CXX: clang++ | |
strategy: | |
matrix: | |
clang_version: | |
- 0 | |
- 15 | |
- 17 | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: "./.github/actions/build_debian" | |
with: | |
install_clang_llvm_org: "${{ matrix.clang_version }}" | |
job_name: debian_12_clang_upstream |