Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c464b6a

Browse files
committedFeb 1, 2024·
Test new arm64 job prior to merging
1 parent dc8b93e commit c464b6a

File tree

1 file changed

+33
-28
lines changed

1 file changed

+33
-28
lines changed
 

‎.github/workflows/nightly.yml

+33-28
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
# For pushes to main, build binaries and store them as artifacts (also upload Docker images)
55
# For pushes to main with tags, also make a GitHub release.
66
push:
7-
branches:
8-
- main
9-
tags:
10-
- "v*"
7+
# branches:
8+
# - main
9+
# tags:
10+
# - "v*"
1111

1212
jobs:
1313
build_binary:
@@ -42,7 +42,12 @@ jobs:
4242
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.4/$PROTO_ZIP
4343
unzip $PROTO_ZIP
4444
echo "$HOME/d/protoc/bin" >> $GITHUB_PATH
45-
export PATH=$PATH:$HOME/d/protoc/bin
45+
46+
if [ "${{ matrix.build }}" = "linux-aarch_64" ]; then
47+
export PATH=$PATH:$HOME/d/protoc/bin/protoc
48+
else
49+
export PATH=$PATH:$HOME/d/protoc/bin
50+
fi
4651
4752
if [ "${{ matrix.build }}" = "win64" ]; then
4853
protoc.exe --version
@@ -129,20 +134,20 @@ jobs:
129134
type=semver,pattern={{version}}
130135
type=semver,pattern={{major}}.{{minor}}
131136
132-
- name: Build and push Docker image (Linux only)
133-
if: matrix.build == 'linux-x86_64' || matrix.build == 'linux-aarch_64'
134-
uses: docker/build-push-action@v5
135-
with:
136-
context: .
137-
push: true
138-
tags: ${{ steps.meta.outputs.tags }}
139-
labels: ${{ steps.meta.outputs.labels }}
140-
141-
- name: Upload binaries as artifacts
142-
uses: actions/upload-artifact@v4
143-
with:
144-
name: ${{ env.ARTIFACT }}
145-
path: ${{ env.SOURCE }}
137+
# - name: Build and push Docker image (Linux only)
138+
# if: matrix.build == 'linux-x86_64' || matrix.build == 'linux-aarch_64'
139+
# uses: docker/build-push-action@v5
140+
# with:
141+
# context: .
142+
# push: true
143+
# tags: ${{ steps.meta.outputs.tags }}
144+
# labels: ${{ steps.meta.outputs.labels }}
145+
#
146+
# - name: Upload binaries as artifacts
147+
# uses: actions/upload-artifact@v4
148+
# with:
149+
# name: ${{ env.ARTIFACT }}
150+
# path: ${{ env.SOURCE }}
146151

147152
github_release:
148153
name: Perform GitHub release
@@ -181,12 +186,12 @@ jobs:
181186
tar -C artifacts/seafowl-nightly-x86_64-apple-darwin -czf seafowl-${{ env.RELEASE_VERSION }}-x86_64-apple-darwin.tar.gz seafowl
182187
cd artifacts/seafowl-nightly-x86_64-pc-windows-msvc && zip -r ../../seafowl-${{ env.RELEASE_VERSION }}-x86_64-pc-windows-msvc.zip seafowl.exe
183188
184-
- name: Upload release archive
185-
uses: softprops/action-gh-release@v1
186-
with:
187-
files: |
188-
seafowl-${{ env.RELEASE_VERSION }}-x86_64-unknown-linux-gnu.tar.gz
189-
seafowl-${{ env.RELEASE_VERSION }}-aarch_64-unknown-linux-gnu.tar.gz
190-
seafowl-${{ env.RELEASE_VERSION }}-x86_64-apple-darwin.tar.gz
191-
seafowl-${{ env.RELEASE_VERSION }}-x86_64-pc-windows-msvc.zip
192-
body_path: notes-${{ env.RELEASE_VERSION }}.md
189+
# - name: Upload release archive
190+
# uses: softprops/action-gh-release@v1
191+
# with:
192+
# files: |
193+
# seafowl-${{ env.RELEASE_VERSION }}-x86_64-unknown-linux-gnu.tar.gz
194+
# seafowl-${{ env.RELEASE_VERSION }}-aarch_64-unknown-linux-gnu.tar.gz
195+
# seafowl-${{ env.RELEASE_VERSION }}-x86_64-apple-darwin.tar.gz
196+
# seafowl-${{ env.RELEASE_VERSION }}-x86_64-pc-windows-msvc.zip
197+
# body_path: notes-${{ env.RELEASE_VERSION }}.md

0 commit comments

Comments
 (0)
Please sign in to comment.