Skip to content

Commit be6b504

Browse files
committed
[test workaround]
1 parent b8a0537 commit be6b504

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/main.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ jobs:
4040
- uses: actions/checkout@v4
4141
with:
4242
fetch-depth: 50
43+
path: ..
4344
- name: Clone DMD
4445
run: |
4546
set -uexo pipefail
46-
ln -s "$GITHUB_WORKSPACE" ../phobos
47+
cd ..
4748
4849
ref='${{ github.ref }}'
4950
if [[ "$ref" =~ ^refs/pull/ ]]; then
@@ -61,17 +62,17 @@ jobs:
6162
6263
git clone --branch "$REPO_BRANCH" --depth 1 https://github.com/dlang/dmd.git ../dmd
6364
- name: Install prerequisites
64-
run: cd ../dmd && ${{ runner.os == 'macOS' && 'ci/cirrusci.sh' || 'sudo -E ci/cirrusci.sh' }}
65+
run: cd ../../dmd && ${{ runner.os == 'macOS' && 'ci/cirrusci.sh' || 'sudo -E ci/cirrusci.sh' }}
6566
- name: Install host compiler
66-
run: cd ../dmd && ci/run.sh install_host_compiler
67+
run: cd ../../dmd && ci/run.sh install_host_compiler
6768
- name: Build
68-
run: cd ../dmd && ci/run.sh build
69+
run: cd ../../dmd && ci/run.sh build
6970
- name: Test dmd
70-
run: cd ../dmd && ci/run.sh test_dmd
71+
run: cd ../../dmd && ci/run.sh test_dmd
7172
- name: Test druntime
72-
run: cd ../dmd && ci/run.sh test_druntime
73+
run: cd ../../dmd && ci/run.sh test_druntime
7374
- name: Test phobos
74-
run: cd ../dmd && ci/run.sh test_phobos
75+
run: cd ../../dmd && ci/run.sh test_phobos
7576

7677
freebsd-vm:
7778
strategy:

0 commit comments

Comments
 (0)