Skip to content

Commit

Permalink
Fixed script syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed Oct 17, 2021
1 parent a7b9b01 commit 47a88a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,14 @@ jobs:
with:
dotnet-version: 5.0.100
- name: Initialize tools
run: init-tools.sh
shell: bash
run: bash init-tools.sh
- name: Install dependencies
run: dotnet restore il2c.sln
# run: dotnet restore samples/GettingStartedIL2C/GettingStartedIL2C.sln
# run: dotnet restore samples/Calculator/Calculator.sln
run: |
dotnet restore il2c.sln
# dotnet restore samples/GettingStartedIL2C/GettingStartedIL2C.sln
# dotnet restore samples/Calculator/Calculator.sln
- name: Build runtime library
run: build-runtime.sh $(buildConfiguration)
shell: bash
run: bash build-runtime.sh $(buildConfiguration)
- name: Build il2c
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform="Any CPU" il2c.sln
# - name: Build GettingStartedIL2C-x86
Expand All @@ -52,8 +51,7 @@ jobs:
# - name: Build Calculator-x64
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x64 samples/Calculator/Calculator.sln
- name: Build Calculator-CMake-mingw32
run: build.sh $(buildConfiguration)
shell: bash
run: bash build.sh $(buildConfiguration)
working-directory: "samples/Calculator/Calculator.CMake"
- name: Test il2c
run: dotnet test --no-restore --verbosity normal --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x64 -p:CITest=True "tests/IL2C.Core.Test.Fixture/bin/$(buildConfiguration)/**/IL2C.Core.Test.Fixture.dll"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
run: init-tools.bat
shell: cmd
- name: Install dependencies
run: dotnet restore il2c.sln
run: dotnet restore samples/GettingStartedIL2C/GettingStartedIL2C.sln
run: dotnet restore samples/Calculator/Calculator.sln
run: |
dotnet restore il2c.sln
dotnet restore samples/GettingStartedIL2C/GettingStartedIL2C.sln
dotnet restore samples/Calculator/Calculator.sln
- name: Build runtime library
run: build-runtime.bat $(buildConfiguration)
shell: cmd
Expand Down

0 comments on commit 47a88a8

Please sign in to comment.