File tree Expand file tree Collapse file tree 2 files changed +4
-29
lines changed Expand file tree Collapse file tree 2 files changed +4
-29
lines changed Original file line number Diff line number Diff line change @@ -102,33 +102,8 @@ runs:
102
102
sudo ln -sf "$(dirname "$PWD")/clang/bin/ld.lld" /usr/bin/ld
103
103
ld --version
104
104
105
- - name : Install ninja # into ../ninja
106
- shell : bash
107
- run : |
108
- set -eux
109
- cd ..
110
-
111
- os=linux
112
- if [[ '${{ runner.os }}' == Windows ]]; then
113
- os=win
114
- elif [[ '${{ runner.os }}' == macOS ]]; then
115
- os=mac
116
- fi
117
-
118
- curl -fL --retry 3 --max-time 60 -O https://github.com/symmetryinvestments/ninja/releases/download/v1.11.1-sym1/ninja-$os.zip
119
- mkdir ninja
120
- unzip ninja-$os.zip -d ninja
121
- rm ninja-$os.zip
122
-
123
- ninja/ninja --version
124
-
125
- if [[ '${{ runner.os }}' == Windows ]]; then
126
- # HACK: copy to directory in PATH and hope it's early enough
127
- cp ninja/ninja.exe /c/vcpkg
128
- ninja --version
129
- else
130
- echo "PATH=$PWD/ninja:$PATH" >> $GITHUB_ENV
131
- fi
105
+ - name : Install ninja
106
+ uses : symmetryinvestments/gha-setup-ninja@v1
132
107
133
108
- name : Install D host compiler
134
109
uses : dlang-community/setup-dlang@v1
Original file line number Diff line number Diff line change 58
58
submodules : true
59
59
fetch-depth : 50
60
60
- name : Install ninja
61
- uses : seanmiddleditch /gha-setup-ninja@v3
61
+ uses : symmetryinvestments /gha-setup-ninja@v1
62
62
- name : Install D host compiler
63
63
uses : dlang-community/setup-dlang@v1
64
64
with :
@@ -122,7 +122,7 @@ jobs:
122
122
-DLLVM_ROOT_DIR="$PWD/llvm" \
123
123
-DLDC_LINK_MANUALLY=OFF \
124
124
${{ matrix.cmake_flags }}
125
- ninja all ldc2-unittest all-test-runners
125
+ ninja obj/ldc2.o all ldc2-unittest all-test-runners
126
126
bin/ldc2 --version
127
127
128
128
- name : Run LDC D unittests
You can’t perform that action at this time.
0 commit comments