Skip to content

Commit

Permalink
Fixed producing build number.
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed Oct 17, 2021
1 parent 47a88a8 commit f4b9222
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ jobs:
- name: Build runtime library
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
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform="Any CPU" il2c.sln
# - name: Build GettingStartedIL2C-x86
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x86 samples/GettingStartedIL2C/GettingStartedIL2C.sln
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x86 samples/GettingStartedIL2C/GettingStartedIL2C.sln
# - name: Build GettingStartedIL2C-x64
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x64 samples/GettingStartedIL2C/GettingStartedIL2C.sln
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x64 samples/GettingStartedIL2C/GettingStartedIL2C.sln
# - name: Build Calculator-x86
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x86 samples/Calculator/Calculator.sln
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x86 samples/Calculator/Calculator.sln
# - name: Build Calculator-x64
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x64 samples/Calculator/Calculator.sln
# run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x64 samples/Calculator/Calculator.sln
- name: Build Calculator-CMake-mingw32
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"
run: dotnet test --no-restore --verbosity normal --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x64 -p:CITest=True "tests/IL2C.Core.Test.Fixture/bin/$(buildConfiguration)/**/IL2C.Core.Test.Fixture.dll"
timeout-minutes: 10
12 changes: 6 additions & 6 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ jobs:
run: build-runtime.bat $(buildConfiguration)
shell: cmd
- name: Build il2c
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform="Any CPU" il2c.sln
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform="Any CPU" il2c.sln
- name: Build GettingStartedIL2C-x86
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x86 samples/GettingStartedIL2C/GettingStartedIL2C.sln
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x86 samples/GettingStartedIL2C/GettingStartedIL2C.sln
- name: Build GettingStartedIL2C-x64
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x64 samples/GettingStartedIL2C/GettingStartedIL2C.sln
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x64 samples/GettingStartedIL2C/GettingStartedIL2C.sln
- name: Build Calculator-x86
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x86 samples/Calculator/Calculator.sln
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x86 samples/Calculator/Calculator.sln
- name: Build Calculator-x64
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(Build.BuildId)" -p:Platform=x64 samples/Calculator/Calculator.sln
run: dotnet build --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x64 samples/Calculator/Calculator.sln
- name: Build Calculator-CMake-mingw32
run: build.bat $(buildConfiguration)
shell: cmd
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"
run: dotnet test --no-restore --verbosity normal --configuration $(buildConfiguration) --no-restore -p:BuildIdentifier="$(GITHUB_RUN_NUMBER)" -p:Platform=x64 -p:CITest=True "tests/IL2C.Core.Test.Fixture/bin/$(buildConfiguration)/**/IL2C.Core.Test.Fixture.dll"
timeout-minutes: 10

0 comments on commit f4b9222

Please sign in to comment.