-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
24 additions
and
24 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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-latest, macos-latest, ubuntu-18.04] | ||
os: [windows-latest, macos-latest, ubuntu-22.04] | ||
include: | ||
- os: macos-latest | ||
IDENTIFIER: osx | ||
|
@@ -28,7 +28,7 @@ jobs: | |
IDENTIFIER: win | ||
ARTIFACT: bebopc.exe | ||
|
||
- os: ubuntu-18.04 | ||
- os: ubuntu-22.04 | ||
IDENTIFIER: linux | ||
ARTIFACT: bebopc | ||
|
||
|
@@ -46,7 +46,7 @@ jobs: | |
id: dotenv | ||
uses: falti/[email protected] | ||
|
||
- if: matrix.os == 'ubuntu-18.04' | ||
- if: matrix.os == 'ubuntu-22.04' | ||
name: Install Dependencies | ||
run: | | ||
sudo apt-get update | ||
|
@@ -72,7 +72,7 @@ jobs: | |
zip -j ${{env.BUILD_ZIP_ARTIFACT_X86_64}} ${{env.BUILD_ARTIFACT_X86_64}} | ||
zip -j ${{env.BUILD_ZIP_ARTIFACT_ARM64}} ${{env.BUILD_ARTIFACT_ARM64}} | ||
- if: matrix.os == 'ubuntu-18.04' | ||
- if: matrix.os == 'ubuntu-22.04' | ||
name: ZIP Linux Build | ||
run: | | ||
zip -j ${{env.BUILD_ZIP_ARTIFACT_X86_64}} ${{env.BUILD_ARTIFACT_X86_64}} | ||
|
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
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
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-latest, macos-latest, ubuntu-18.04] | ||
os: [windows-latest, macos-latest, ubuntu-22.04] | ||
include: | ||
- os: macos-latest | ||
IDENTIFIER: osx | ||
|
@@ -20,7 +20,7 @@ jobs: | |
IDENTIFIER: win | ||
ARTIFACT: bebopc.exe | ||
|
||
- os: ubuntu-18.04 | ||
- os: ubuntu-22.04 | ||
IDENTIFIER: linux | ||
ARTIFACT: bebopc | ||
env: | ||
|
@@ -37,15 +37,15 @@ jobs: | |
uses: falti/[email protected] | ||
|
||
# ubuntu is the fastest OS to spin up and if one fails they all fail. | ||
- if: matrix.os == 'ubuntu-18.04' | ||
- if: matrix.os == 'ubuntu-22.04' | ||
name: Check if Versions Synced | ||
run: | | ||
if [[ ! refs/tags/v${{ steps.dotenv.outputs.version }} =~ ^(${{ github.ref }})$ ]]; then | ||
echo "${{ steps.dotenv.outputs.version }} is not the same as ${{ github.ref }}. Did you bump the .env file?" 1>&2 | ||
exit 1 | ||
fi | ||
- if: matrix.os == 'ubuntu-18.04' | ||
- if: matrix.os == 'ubuntu-22.04' | ||
name: Install Dependencies | ||
run: | | ||
sudo apt-get update | ||
|
@@ -95,7 +95,7 @@ jobs: | |
zip -j ${{env.BUILD_ZIP_ARTIFACT_ARM64}} ./bebopc | ||
rm -f ./bebopc | ||
- if: matrix.os == 'ubuntu-18.04' | ||
- if: matrix.os == 'ubuntu-22.04' | ||
name: ZIP Linux Build | ||
run: | | ||
zip -j ${{env.BUILD_ZIP_ARTIFACT_X86_64}} ${{env.BUILD_ARTIFACT_X86_64}} | ||
|
@@ -128,7 +128,7 @@ jobs: | |
TS_RUNTIME_ROOT: ${{github.workspace}}/Runtime/TypeScript | ||
RUST_RUNTIME_ROOT: ${{github.workspace}}/Runtime/Rust | ||
RUST_TEST_ROOT: ${{github.workspace}}/Laboratory/Rust | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-22.04 | ||
needs: build-compiler | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -241,7 +241,7 @@ jobs: | |
TOOLS_ROOT: ${{github.workspace}}/Tools | ||
BEBOPC_PATH: ${{github.workspace}}/Tools/bebopc | ||
needs: build-compiler | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup Rust | ||
|
@@ -332,7 +332,7 @@ jobs: | |
env: | ||
RUST_RUNTIME_ROOT: ${{github.workspace}}/Runtime/Rust | ||
TOOLS_ROOT: ${{github.workspace}}/Tools | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-22.04 | ||
needs: [build-compiler, build-runtimes, build-tools] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
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 |
---|---|---|
|
@@ -34,38 +34,38 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/checkout@v1 | ||
- name: Get Environment Variables | ||
id: dotenv | ||
uses: falti/[email protected] | ||
|
||
|
||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: "7.0.x" # SDK Version to use; x will use the latest version of the 7.0 channel | ||
include-prerelease: true | ||
|
||
- name: Build REPL | ||
run: | | ||
dotnet restore | ||
dotnet publish -c Release -p:ReleaseVersion=${{ steps.dotenv.outputs.version }} | ||
working-directory: ./Repl/ | ||
|
||
- name: Stage Repl | ||
run: | | ||
mkdir -p homepage/repl && cp -a /home/runner/work/bebop/bebop/bin/repl/Release/net7.0/wwwroot/. homepage/repl | ||
sed 's/0.0.0/${{ steps.dotenv.outputs.version }}/' ${{env.TOOLS_ROOT}}/bash/install.sh > homepage/install.sh | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
# Upload entire repository | ||
path: homepage | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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
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
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