Skip to content

Commit

Permalink
[Tizen] Change gen_snapshot path of macos build test from x64 to arm64
Browse files Browse the repository at this point in the history
According to runner-images(https://github.com/actions/runner-images), macos-latest is macOS 14 Arm64.
  • Loading branch information
JSUYA committed Dec 18, 2024
1 parent 4ee1906 commit b95ef47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"

- name: Install depot_tools
run: |
Expand All @@ -186,7 +186,7 @@ jobs:
- name: Build
run: |
# Change host_toolchain to mac/clang_x64.
# Change host_toolchain to mac/clang_arm64.
sed -i "" "s|//build/toolchain/linux:clang_$host_cpu|//build/toolchain/mac:clang_$host_cpu|g" src/build/config/BUILDCONFIG.gn
# Pass dummy values to prevent using the default (Linux) toolchain.
Expand All @@ -200,12 +200,12 @@ jobs:
--runtime-mode=${{ matrix.mode }} \
--disable-desktop-embeddings \
--target-dir build
ninja -C src/out/build clang_x64/gen_snapshot
ninja -C src/out/build clang_arm64/gen_snapshot
- uses: actions/upload-artifact@v4
with:
name: tizen-${{ matrix.arch }}-${{ matrix.mode }}_darwin-x64
path: src/out/build/clang_x64/gen_snapshot
path: src/out/build/clang_arm64/gen_snapshot
if-no-files-found: error

release:
Expand Down

0 comments on commit b95ef47

Please sign in to comment.