-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
1 parent
5294b28
commit 600fe87
Showing
1 changed file
with
42 additions
and
2 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 |
---|---|---|
|
@@ -60,6 +60,46 @@ jobs: | |
needs: set-date | ||
|
||
steps: | ||
- name: setup deb822 repos | ||
run: | | ||
if [[ $ImageOS == "ubuntu24" ]]; then | ||
cat <<EOF > deb822sources | ||
Types: deb | ||
URIs: http://archive.ubuntu.com/ubuntu/ | ||
Suites: noble | ||
Components: main restricted universe | ||
Architectures: amd64 | ||
Types: deb | ||
URIs: http://security.ubuntu.com/ubuntu/ | ||
Suites: noble-security | ||
Components: main restricted universe | ||
Architectures: amd64 | ||
Types: deb | ||
URIs: http://archive.ubuntu.com/ubuntu/ | ||
Suites: noble-updates | ||
Components: main restricted universe | ||
Architectures: amd64 | ||
Types: deb | ||
URIs: http://azure.ports.ubuntu.com/ubuntu-ports/ | ||
Suites: noble | ||
Components: main restricted multiverse universe | ||
Architectures: arm64 | ||
Types: deb | ||
URIs: http://azure.ports.ubuntu.com/ubuntu-ports/ | ||
Suites: noble-updates | ||
Components: main restricted multiverse universe | ||
Architectures: arm64 | ||
EOF | ||
sudo mv deb822sources /etc/apt/sources.list.d/ubuntu.sources | ||
else | ||
sudo mv config/crosscomp-sources.list /etc/apt/sources.list | ||
fi | ||
# https://learn.microsoft.com/zh-cn/dotnet/core/deploying/native-aot/cross-compile | ||
- run: | | ||
sudo dpkg --add-architecture arm64 | ||
|
@@ -72,7 +112,7 @@ jobs: | |
sudo sed -i -e 's/deb mirror/deb [arch=amd64] mirror/g' /etc/apt/sources.list | ||
sudo apt-get update | ||
sudo apt-get install -y curl wget libicu-dev libcurl4-openssl-dev zlib1g-dev libkrb5-dev clang llvm binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu zlib1g-dev:arm64 | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Set up dotnet | ||
|
@@ -133,7 +173,7 @@ jobs: | |
with: | ||
name: BBDown_osx-x64 | ||
path: BBDown_${{ needs.set-date.outputs.date }}_osx-x64.zip | ||
|
||
- name: Upload Artifact [osx-arm64] | ||
uses: actions/[email protected] | ||
with: | ||
|