|
8 | 8 |
|
9 | 9 |
|
10 | 10 | jobs: |
11 | | - testfable3: |
12 | | - runs-on: ubuntu-latest |
13 | | - |
14 | | - steps: |
15 | | - - uses: actions/checkout@v2 |
16 | | - - name: Restore |
17 | | - run: git submodule update --init --recursive |
18 | | - - name: Remove global json |
19 | | - run: rm global.json |
20 | | - - name: Set target framework to net6 instead of net8 |
21 | | - uses: Mudlet/xmlstarlet-action@master |
22 | | - with: |
23 | | - args: edit --inplace --update "/Project/PropertyGroup/TargetFrameworks" --value "netstandard2.0;netstandard2.1;net6.0" ./src/FSharpPlus/FSharpPlus.fsproj |
24 | | - - name: Setup .NET Core |
25 | | - uses: actions/setup-dotnet@v3 |
26 | | - with: |
27 | | - dotnet-version: | |
28 | | - 8.0.x |
29 | | - 7.0.x |
30 | | - 6.0.x |
31 | | - - name: Restore tools |
32 | | - run: dotnet tool restore |
33 | | - - name: Create global.json |
34 | | - working-directory: tests/FSharpPlusFable.Tests |
35 | | - run: mv fable3-global.json global.json |
36 | | - - name: Install fable |
37 | | - run: dotnet tool install --global Fable --version 3.7.22 |
38 | | - - name: Use Node.js |
39 | | - uses: actions/setup-node@v1 |
40 | | - with: |
41 | | - node-version: '12.x' |
42 | | - - name: Install npm dependencies |
43 | | - working-directory: tests/FSharpPlusFable.Tests |
44 | | - run: npm install |
45 | | - - name: Run Fable tests |
46 | | - working-directory: tests/FSharpPlusFable.Tests |
47 | | - run: fable . --outDir bin --runScript ./bin |
48 | | - |
49 | 11 | testfable4: |
50 | 12 | runs-on: ubuntu-latest |
51 | 13 |
|
|
81 | 43 | working-directory: tests/FSharpPlusFable.Tests |
82 | 44 | run: fable . --outDir bin --runScript ./bin |
83 | 45 |
|
84 | | - testFable3SubsetOnCore: |
85 | | - runs-on: ubuntu-latest |
86 | | - |
87 | | - steps: |
88 | | - - uses: actions/checkout@v2 |
89 | | - - name: Restore |
90 | | - run: git submodule update --init --recursive |
91 | | - - name: Remove global json |
92 | | - run: rm global.json |
93 | | - - name: Setup .NET Core |
94 | | - uses: actions/setup-dotnet@v3 |
95 | | - with: |
96 | | - dotnet-version: | |
97 | | - 8.0.x |
98 | | - 7.0.x |
99 | | - 6.0.x |
100 | | - - name: Restore tools |
101 | | - run: dotnet tool restore |
102 | | - # - name: Run tests (Fable2 subset but on .net) |
103 | | - # working-directory: tests/FSharpPlusFable.Tests |
104 | | - # run: dotnet run -c Fable |
105 | | - - name: Run tests (Fable3 subset but on .net) |
106 | | - working-directory: tests/FSharpPlusFable.Tests |
107 | | - run: dotnet run -c Fable3 |
108 | | - - name: Run tests (Full subset for of tests .net) |
109 | | - working-directory: tests/FSharpPlusFable.Tests |
110 | | - run: dotnet run -c Release |
0 commit comments