Skip to content

Commit aaa6a4d

Browse files
authored
Merge PR #50 from webwarrior-ws/fix-ci
Fix CI.
2 parents 02429b1 + e53dbe7 commit aaa6a4d

File tree

1 file changed

+5
-153
lines changed

1 file changed

+5
-153
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 153 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ jobs:
4343
needs:
4444
- macOS--dotnet6-and-mono
4545
- macOS--mono
46-
- linux-oldLTS-github--dotnet-and-xbuild
47-
- linux-oldLTS-github--dotnet-and-msbuild
48-
- linux-oldLTS-vanilla--stockmono
49-
- linux-oldLTS-vanilla--newmono
5046
- linux-newLTS-github--dotnet-and-xbuild
5147
- linux-newLTS-github--dotnet-and-msbuild
5248
- linux-newLTS-vanilla--stockmono
@@ -146,156 +142,10 @@ jobs:
146142
- name: compile this repo's .fsx scripts with fsx
147143
run: ./compileFSharpScripts.fsx
148144

149-
linux-oldLTS-github--dotnet-and-xbuild:
150-
runs-on: ubuntu-20.04
151-
steps:
152-
- uses: actions/checkout@v1
153-
- name: check mono version
154-
run: mono --version
155-
- name: install dependencies
156-
run: sudo apt install --yes fsharp
157-
- name: check mono version
158-
run: mono --version
159-
- name: configure
160-
run: ./configure.sh && cat build.config
161-
- name: build in DEBUG mode
162-
run: make
163-
- name: run unit tests
164-
run: dotnet fsi scripts/runUnitTests.fsx
165-
166-
- name: install
167-
run: |
168-
# to clean Debug artifacts first (make install builds in Release config)
169-
git clean -fdx
170-
171-
./configure.sh
172-
make release
173-
sudo make install
174-
175-
- name: run tests
176-
run: make check
177-
- name: compile this repo's .fsx scripts with fsx
178-
run: ./compileFSharpScripts.fsx
179-
180-
linux-oldLTS-github--dotnet-and-msbuild:
181-
runs-on: ubuntu-20.04
182-
steps:
183-
- uses: actions/checkout@v1
184-
- name: check mono version
185-
run: mono --version
186-
- name: install last version of mono (Microsoft APT repositories)
187-
run: sudo ./scripts/CI/install_mono_from_microsoft_deb_packages.sh
188-
- name: check mono version
189-
run: mono --version
190-
- name: configure
191-
run: ./configure.sh
192-
- name: build in DEBUG mode
193-
run: make
194-
- name: run unit tests
195-
run: dotnet fsi scripts/runUnitTests.fsx
196-
197-
- name: install
198-
run: |
199-
# to clean Debug artifacts first (make install builds in Release config)
200-
git clean -fdx
201-
202-
./configure.sh
203-
make release
204-
sudo make install
205-
206-
- name: run tests
207-
run: make check
208-
- name: compile this repo's .fsx scripts with fsx
209-
run: ./compileFSharpScripts.fsx
210-
211-
linux-oldLTS-vanilla--stockmono:
212-
runs-on: ubuntu-20.04
213-
container:
214-
image: "ubuntu:20.04"
215-
steps:
216-
- uses: actions/checkout@v1
217-
- name: install sudo
218-
run: apt update && apt install --yes sudo
219-
- name: install all dependencies
220-
run: sudo apt install --yes git make curl fsharp nunit-console
221-
222-
# workaround for https://github.com/actions/runner/issues/2033
223-
- name: ownership workaround
224-
run: git config --global --add safe.directory '*'
225-
226-
- name: check mono version
227-
run: mono --version
228-
- name: install dependencies
229-
run: sudo apt install --yes fsharp
230-
- name: check mono version
231-
run: mono --version
232-
- name: configure
233-
run: ./configure.sh
234-
- name: build in DEBUG mode
235-
run: make
236-
237-
- name: install
238-
run: |
239-
# to clean Debug artifacts first (make install builds in Release config)
240-
git clean -fdx
241-
242-
./configure.sh
243-
make release
244-
sudo make install
245-
246-
- name: run unit tests
247-
run: ./scripts/runUnitTests.fsx
248-
- name: run tests
249-
run: make check
250-
- name: compile this repo's .fsx scripts with fsx
251-
run: ./compileFSharpScripts.fsx
252-
253-
linux-oldLTS-vanilla--newmono:
254-
runs-on: ubuntu-20.04
255-
container:
256-
image: "ubuntu:20.04"
257-
steps:
258-
- uses: actions/checkout@v1
259-
- name: install sudo
260-
run: apt update && apt install --yes sudo
261-
- name: install last version of mono (Microsoft APT repositories)
262-
run: sudo ./scripts/CI/install_mono_from_microsoft_deb_packages.sh
263-
- name: install rest of dependencies
264-
run: sudo apt install --yes git make curl fsharp nunit-console
265-
266-
# workaround for https://github.com/actions/runner/issues/2033
267-
- name: ownership workaround
268-
run: git config --global --add safe.directory '*'
269-
270-
- name: check mono version
271-
run: mono --version
272-
- name: install dependencies
273-
run: sudo apt install --yes fsharp
274-
- name: check mono version
275-
run: mono --version
276-
- name: configure
277-
run: ./configure.sh
278-
- name: build in DEBUG mode
279-
run: make
280-
- name: run unit tests
281-
run: fsharpi --define:LEGACY_FRAMEWORK scripts/runUnitTests.fsx
282-
283-
- name: install
284-
run: |
285-
# to clean Debug artifacts first (make install builds in Release config)
286-
git clean -fdx
287-
288-
./configure.sh
289-
make release
290-
sudo make install
291-
292-
- name: run tests
293-
run: make check
294-
- name: compile this repo's .fsx scripts with fsx
295-
run: ./compileFSharpScripts.fsx
296-
297145
linux-newLTS-github--dotnet-and-xbuild:
298146
runs-on: ubuntu-22.04
147+
env:
148+
DOTNET_ROLL_FORWARD: major
299149
steps:
300150
- uses: actions/checkout@v1
301151
- name: check mono version
@@ -327,6 +177,8 @@ jobs:
327177

328178
linux-newLTS-github--dotnet-and-msbuild:
329179
runs-on: ubuntu-22.04
180+
env:
181+
DOTNET_ROLL_FORWARD: major
330182
steps:
331183
- uses: actions/checkout@v1
332184
- name: check mono version
@@ -481,7 +333,7 @@ jobs:
481333
run: ./compileFSharpScripts.fsx
482334

483335
windows--legacyFramework:
484-
runs-on: windows-2019
336+
runs-on: windows-2022
485337
steps:
486338
- uses: actions/checkout@v1
487339
- name: HACK to emulate dotnet uninstall

0 commit comments

Comments
 (0)