-
Notifications
You must be signed in to change notification settings - Fork 3
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
13 changed files
with
38 additions
and
123 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 |
---|---|---|
|
@@ -12,26 +12,24 @@ jobs: | |
os: [windows-latest, macos-latest, ubuntu-22.04] | ||
fail-fast: false | ||
steps: | ||
- name: Expose GitHub Runtime | ||
uses: crazy-max/ghaction-github-runtime@v3 | ||
- name: Add msbuild to PATH | ||
if: runner.os == 'Windows' | ||
uses: microsoft/[email protected] | ||
- name: Install Linux dependencies | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt-get install build-essential git make cmake autoconf automake libpng-dev | ||
run: sudo apt-get install build-essential git make cmake autoconf automake libpng-dev pkg-config | ||
shell: bash | ||
- name: Clone repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Run CAKE | ||
run: dotnet run --project ./build/Build.csproj | ||
- name: Package artifacts | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: FreeType-${{ matrix.os }} | ||
path: | | ||
artifacts/* | ||
env: | ||
ACTIONS_RUNTIME_TOKEN: ${{ env.ACTIONS_RUNTIME_TOKEN }} | ||
ACTIONS_RUNTIME_URL: "${{ env.ACTIONS_RUNTIME_URL }}" | ||
deploy: | ||
name: deploy | ||
runs-on: ubuntu-latest | ||
|
@@ -41,30 +39,17 @@ jobs: | |
needs: [ build ] | ||
if: ${{ github.event_name == 'push' }} | ||
steps: | ||
- name: Expose GitHub Runtime | ||
uses: crazy-max/ghaction-github-runtime@v3 | ||
- name: Clone repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Download artifacts for Windows x64 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: FreeType-windows-latest | ||
path: artifacts-windows-x64 | ||
- name: Download artifacts for macOS | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: FreeType-macos-latest | ||
path: artifacts-macos | ||
- name: Download artifacts for Linux x64 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: FreeType-ubuntu-22.04 | ||
path: artifacts-linux-x64 | ||
- name: Run CAKE | ||
run: dotnet run --project ./build/Build.csproj -- "--target=Package" | ||
- name: Push packages | ||
run: dotnet nuget push src/bin/Release/*.nupkg --source https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json --api-key ${GITHUB_TOKEN} | ||
run: dotnet run --project ./build/Build.csproj -- --target=Package --libraryname=FreeType --licensepath=freetype/LICENSE.txt | ||
env: | ||
ACTIONS_RUNTIME_TOKEN: ${{ env.ACTIONS_RUNTIME_TOKEN }} | ||
ACTIONS_RUNTIME_URL: "${{ env.ACTIONS_RUNTIME_URL }}" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Make a release | ||
uses: ncipollo/release-action@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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "freetype"] | ||
path = freetype | ||
url = https://gitlab.freedesktop.org/freetype/freetype.git | ||
[submodule "buildscripts"] | ||
path = buildscripts | ||
url = https://github.com/MonoGame/MonoGame.Library.BuildScripts.git |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Submodule buildscripts
added at
158f1c
Binary file not shown.
This file was deleted.
Oops, something went wrong.