-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dependencies in GitHub Actions
- Loading branch information
Showing
2 changed files
with
89 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
name: Build Alternate UI Frontend HTML | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "implement/alternate-ui/**" | ||
- ".github/workflows/build-alternate-ui-frontend-html.yml" | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: download build tool | ||
run: | | ||
pwsh -nologo -noprofile -command "Invoke-WebRequest 'https://github.com/pine-vm/pine/releases/download/v0.3.0/pine-bin-v0.3.0-linux-x64.zip' -OutFile pine-bin-v0.3.0-linux-x64.zip" | ||
pwsh -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('pine-bin-v0.3.0-linux-x64.zip','./pine');}" | ||
- name: install build tool | ||
run: | | ||
chmod +x ./pine/pine | ||
sudo ./pine/pine install | ||
- name: Build HTML | ||
working-directory: ./implement/alternate-ui/source | ||
run: | | ||
pine make src/Frontend/Main.elm --output=./eve-online-alternate-ui-${{github.sha}}.html | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: eve-online-alternate-ui-${{github.sha}} | ||
path: ./implement/alternate-ui/source/eve-online-alternate-ui-${{github.sha}}.html | ||
name: Build Alternate UI Frontend HTML | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "implement/alternate-ui/**" | ||
- ".github/workflows/build-alternate-ui-frontend-html.yml" | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: download build tool | ||
run: | | ||
pwsh -nologo -noprofile -command "Invoke-WebRequest 'https://github.com/pine-vm/pine/releases/download/v0.3.0/pine-bin-v0.3.0-linux-x64.zip' -OutFile pine-bin-v0.3.0-linux-x64.zip" | ||
pwsh -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('pine-bin-v0.3.0-linux-x64.zip','./pine');}" | ||
- name: install build tool | ||
run: | | ||
chmod +x ./pine/pine | ||
sudo ./pine/pine install | ||
- name: Build HTML | ||
working-directory: ./implement/alternate-ui/source | ||
run: | | ||
pine make src/Frontend/Main.elm --output=./eve-online-alternate-ui-${{github.sha}}.html | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: eve-online-alternate-ui-${{github.sha}} | ||
path: ./implement/alternate-ui/source/eve-online-alternate-ui-${{github.sha}}.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,53 @@ | ||
name: test-and-publish | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
environment: [windows-2022] | ||
include: | ||
- environment: windows-2022 | ||
publish-runtime-id: win-x64 | ||
|
||
runs-on: ${{ matrix.environment }} | ||
|
||
steps: | ||
- name: Avoid git mutating files on checkout | ||
run: | | ||
git config --global core.autocrlf false | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '7.0.101' | ||
- name: Display .NET information. | ||
run: dotnet --info | ||
|
||
- name: Clean package cache as a temporary workaround for https://github.com/actions/setup-dotnet/issues/155 | ||
run: dotnet clean ./implement/read-memory-64-bit/read-memory-64-bit.csproj && dotnet nuget locals all --clear | ||
|
||
- name: Run tests with dotnet test | ||
run: dotnet test ./implement/read-memory-64-bit/read-memory-64-bit.csproj --logger trx | ||
- name: dotnet publish - self contained single file executable | ||
env: | ||
PUBLISH_RUNTIME_ID: ${{ matrix.publish-runtime-id }} | ||
run: dotnet publish -c Debug -r ${{ env.PUBLISH_RUNTIME_ID }} --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:IncludeAllContentForSelfExtract=true -p:PublishReadyToRun=true -p:PublishReadyToRunShowWarnings=true --output ./publish ./implement/read-memory-64-bit | ||
- name: Publish artifacts - self contained single file executable | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: read-memory-64-bit-self-contained-single-file-exe-${{github.sha}}-${{ matrix.publish-runtime-id }} | ||
path: ./publish | ||
- name: dotnet publish - separate assemblies | ||
run: dotnet publish -c Debug ./implement/read-memory-64-bit --output ./publish-separate-assemblies | ||
- name: Publish artifacts - separate assemblies | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: read-memory-64-bit-separate-assemblies-${{github.sha}}-${{ matrix.publish-runtime-id }} | ||
path: ./publish-separate-assemblies | ||
name: test-and-publish | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
environment: [windows-2022] | ||
include: | ||
- environment: windows-2022 | ||
publish-runtime-id: win-x64 | ||
|
||
runs-on: ${{ matrix.environment }} | ||
|
||
steps: | ||
- name: Avoid git mutating files on checkout | ||
run: | | ||
git config --global core.autocrlf false | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '7.0.101' | ||
- name: Display .NET information. | ||
run: dotnet --info | ||
|
||
- name: Clean package cache as a temporary workaround for https://github.com/actions/setup-dotnet/issues/155 | ||
run: dotnet clean ./implement/read-memory-64-bit/read-memory-64-bit.csproj && dotnet nuget locals all --clear | ||
|
||
- name: Run tests with dotnet test | ||
run: dotnet test ./implement/read-memory-64-bit/read-memory-64-bit.csproj --logger trx | ||
|
||
- name: dotnet publish - self contained single file executable | ||
env: | ||
PUBLISH_RUNTIME_ID: ${{ matrix.publish-runtime-id }} | ||
run: dotnet publish -c Debug -r ${{ env.PUBLISH_RUNTIME_ID }} --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:IncludeAllContentForSelfExtract=true -p:PublishReadyToRun=true -p:PublishReadyToRunShowWarnings=true --output ./publish ./implement/read-memory-64-bit | ||
|
||
- name: Publish artifacts - self contained single file executable | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: read-memory-64-bit-self-contained-single-file-exe-${{github.sha}}-${{ matrix.publish-runtime-id }} | ||
path: ./publish | ||
|
||
- name: dotnet publish - separate assemblies | ||
run: dotnet publish -c Debug ./implement/read-memory-64-bit --output ./publish-separate-assemblies | ||
|
||
- name: Publish artifacts - separate assemblies | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: read-memory-64-bit-separate-assemblies-${{github.sha}}-${{ matrix.publish-runtime-id }} | ||
path: ./publish-separate-assemblies |