Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,23 @@ jobs:
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;nuget,https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json,readwrite')

- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.sh -disableMetrics
sudo apt-get install -y --no-install-recommends mono-complete
mono $(${{ runner.temp }}/vcpkg/vcpkg fetch nuget | tail -n 1) \
sources add \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
-StorePasswordInClearText \
-Name GitHubPackages \
-UserName "${{ github.repository_owner }}" \
-Password "${{ github.token }}"
mono $(${{ runner.temp }}/vcpkg/vcpkg fetch nuget | tail -n 1) \
setapikey "${{ github.token }}" \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"

- name: Install dependencies
run: |
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,23 @@ jobs:
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;nuget,https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json,readwrite')

- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.sh -disableMetrics
brew install mono
mono $(${{ runner.temp }}/vcpkg/vcpkg fetch nuget | tail -n 1) \
sources add \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
-StorePasswordInClearText \
-Name GitHubPackages \
-UserName "${{ github.repository_owner }}" \
-Password "${{ github.token }}"
mono $(${{ runner.temp }}/vcpkg/vcpkg fetch nuget | tail -n 1) \
setapikey "${{ github.token }}" \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"

- name: Install OpenGFX
run: |
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,23 @@ jobs:
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;nuget,https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json,readwrite')

- name: Install vcpkg
shell: pwsh
run: |
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}\vcpkg
${{ runner.temp }}\vcpkg\bootstrap-vcpkg.bat -disableMetrics
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.bat -disableMetrics
.$(${{ runner.temp }}/vcpkg/vcpkg fetch nuget) `
sources add `
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" `
-StorePasswordInClearText `
-Name GitHubPackages `
-UserName "${{ github.repository_owner }}" `
-Password "${{ github.token }}"
.$(${{ runner.temp }}/vcpkg/vcpkg fetch nuget) `
setapikey "${{ github.token }}" `
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"

- name: Install OpenGFX
shell: bash
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
actions: read
contents: read
security-events: write
packages: write

steps:
- name: Checkout
Expand All @@ -30,14 +31,23 @@ jobs:
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;nuget,https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json,readwrite')

- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.sh -disableMetrics
sudo apt-get install -y --no-install-recommends mono-complete
mono $(${{ runner.temp }}/vcpkg/vcpkg fetch nuget | tail -n 1) \
sources add \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
-StorePasswordInClearText \
-Name GitHubPackages \
-UserName "${{ github.repository_owner }}" \
-Password "${{ github.token }}"
mono $(${{ runner.temp }}/vcpkg/vcpkg fetch nuget | tail -n 1) \
setapikey "${{ github.token }}" \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"

- name: Install dependencies
run: |
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/release-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;nuget,https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json,readwrite')

- name: Install dependencies
run: |
Expand All @@ -50,6 +48,7 @@ jobs:
# autoconf-archive is needed to build ICU.
yum install -y \
autoconf-archive \
mono-complete \
perl-IPC-Cmd \
wget \
zip \
Expand Down Expand Up @@ -121,6 +120,16 @@ jobs:
(
cd /vcpkg
./bootstrap-vcpkg.sh -disableMetrics
mono $(./vcpkg fetch nuget | tail -n 1) \
sources add \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
-StorePasswordInClearText \
-Name GitHubPackages \
-UserName "${{ github.repository_owner }}" \
-Password "${{ github.token }}"
mono $(./vcpkg fetch nuget | tail -n 1) \
setapikey "${{ github.token }}" \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
)

echo "::group::Install breakpad dependencies"
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/release-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,23 @@ jobs:
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;nuget,https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json,readwrite')

- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.sh -disableMetrics
brew install mono
mono $(${{ runner.temp }}/vcpkg/vcpkg fetch nuget | tail -n 1) \
sources add \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
-StorePasswordInClearText \
-Name GitHubPackages \
-UserName "${{ github.repository_owner }}" \
-Password "${{ github.token }}"
mono $(${{ runner.temp }}/vcpkg/vcpkg fetch nuget | tail -n 1) \
setapikey "${{ github.token }}" \
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"

- name: Install dependencies
env:
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,23 @@ jobs:
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite')
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;nuget,https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json,readwrite')

- name: Install vcpkg
shell: pwsh
run: |
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}\vcpkg
${{ runner.temp }}\vcpkg\bootstrap-vcpkg.bat -disableMetrics
git clone https://github.com/microsoft/vcpkg ${{ runner.temp }}/vcpkg
${{ runner.temp }}/vcpkg/bootstrap-vcpkg.bat -disableMetrics
.$(${{ runner.temp }}/vcpkg/vcpkg fetch nuget) `
sources add `
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" `
-StorePasswordInClearText `
-Name GitHubPackages `
-UserName "${{ github.repository_owner }}" `
-Password "${{ github.token }}"
.$(${{ runner.temp }}/vcpkg/vcpkg fetch nuget) `
setapikey "${{ github.token }}" `
-Source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"

- name: Install dependencies
shell: bash
Expand Down
Loading