Skip to content

Commit

Permalink
[test workaround]
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Oct 28, 2023
1 parent b8a0537 commit ee218ad
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 50
- name: Move repo to parent dir (a workaround)
run: mv -f * ../
- name: Clone DMD
run: |
set -uexo pipefail
ln -s "$GITHUB_WORKSPACE" ../phobos
cd ..
ref='${{ github.ref }}'
if [[ "$ref" =~ ^refs/pull/ ]]; then
Expand All @@ -61,17 +63,17 @@ jobs:
git clone --branch "$REPO_BRANCH" --depth 1 https://github.com/dlang/dmd.git ../dmd
- name: Install prerequisites
run: cd ../dmd && ${{ runner.os == 'macOS' && 'ci/cirrusci.sh' || 'sudo -E ci/cirrusci.sh' }}
run: cd ../../dmd && ${{ runner.os == 'macOS' && 'ci/cirrusci.sh' || 'sudo -E ci/cirrusci.sh' }}
- name: Install host compiler
run: cd ../dmd && ci/run.sh install_host_compiler
run: cd ../../dmd && ci/run.sh install_host_compiler
- name: Build
run: cd ../dmd && ci/run.sh build
run: cd ../../dmd && ci/run.sh build
- name: Test dmd
run: cd ../dmd && ci/run.sh test_dmd
run: cd ../../dmd && ci/run.sh test_dmd
- name: Test druntime
run: cd ../dmd && ci/run.sh test_druntime
run: cd ../../dmd && ci/run.sh test_druntime
- name: Test phobos
run: cd ../dmd && ci/run.sh test_phobos
run: cd ../../dmd && ci/run.sh test_phobos

freebsd-vm:
strategy:
Expand Down

0 comments on commit ee218ad

Please sign in to comment.