Skip to content

Commit

Permalink
afs: bump to 2.0.5 and gha remove linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
MIRIMIRIM committed Oct 1, 2024
1 parent 07edbfc commit 40f12d6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/afs-cmd-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
identifier: win
- os: macos-latest
identifier: osx
- os: ubuntu-latest
identifier: linux
# - os: ubuntu-latest
# identifier: linux
arch: ['x64', 'arm64']
dotnet_version: ['8.x']

Expand All @@ -44,8 +44,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Update submodule
run: git submodule update --init --recursive
# - name: Update submodule
# run: git submodule update --init --recursive

- name: Test
run: |
Expand All @@ -55,20 +55,20 @@ jobs:
dotnet test
cd ..
- name: Install linux arm64 prereqs
# copy from https://github.com/dn-vm/dnvm
if: matrix.env.identifier == 'linux' && matrix.arch == 'arm64'
run: |
sudo dpkg --add-architecture arm64
sudo bash -c 'cat > /etc/apt/sources.list.d/arm64.list <<EOF
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy main restricted ports
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
EOF'
sudo sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list
sudo sed -i -e 's/deb mirror/deb [arch=amd64] mirror/g' /etc/apt/sources.list
sudo apt update
sudo apt install -y clang llvm binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu zlib1g-dev:arm64
# - name: Install linux arm64 prereqs
# # copy from https://github.com/dn-vm/dnvm
# if: matrix.env.identifier == 'linux' && matrix.arch == 'arm64'
# run: |
# sudo dpkg --add-architecture arm64
# sudo bash -c 'cat > /etc/apt/sources.list.d/arm64.list <<EOF
# deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy main restricted ports
# deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted
# deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
# EOF'
# sudo sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list
# sudo sed -i -e 's/deb mirror/deb [arch=amd64] mirror/g' /etc/apt/sources.list
# sudo apt update
# sudo apt install -y clang llvm binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu zlib1g-dev:arm64

- name: Change to afs.cmd and Publish
run: |
Expand Down
2 changes: 1 addition & 1 deletion build/global.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>2.0.4</Version>
<Version>2.0.5</Version>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down

0 comments on commit 40f12d6

Please sign in to comment.