Skip to content

Commit

Permalink
[WIP] ci : Update action version and disable gtk config in test
Browse files Browse the repository at this point in the history
  • Loading branch information
JSUYA committed Mar 19, 2024
1 parent ba10b71 commit 5eee0b9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
builder:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v5
with:
context: ci/tizen
file: ci/tizen/Dockerfile
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
mode: profile

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/flutter
fetch-depth: 0

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: /tizen_tools/sysroot
key: sysroot
Expand Down Expand Up @@ -76,22 +76,22 @@ jobs:
if: ${{ matrix.mode != 'debug' }}
run: ninja -C src/out/build clang_x64/gen_snapshot

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: tizen-${{ matrix.arch }}-${{ matrix.mode }}
path: |
src/out/build/libflutter_engine.so
src/out/build/icudtl.dat
if-no-files-found: error

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'push' }}
with:
name: tizen-${{ matrix.arch }}-${{ matrix.mode }}_symbols
path: src/out/build/so.unstripped/libflutter_engine.so
if-no-files-found: error

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ matrix.mode != 'debug' }}
with:
name: tizen-${{ matrix.arch }}-${{ matrix.mode }}_linux-x64
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
--target-dir build
ninja -C .\out\build gen_snapshot
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: tizen-${{ matrix.arch }}-${{ matrix.mode }}_windows-x64
path: C:\workspace\engine\src\out\build\gen_snapshot.exe
Expand All @@ -164,12 +164,12 @@ jobs:
mode: [release, profile]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/flutter
fetch-depth: 0

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

Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
--target-dir build
ninja -C src/out/build clang_x64/gen_snapshot
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: tizen-${{ matrix.arch }}-${{ matrix.mode }}_darwin-x64
path: src/out/build/clang_x64/gen_snapshot
Expand All @@ -214,9 +214,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4

- name: Create archives
run: |
Expand All @@ -229,7 +229,7 @@ jobs:
echo "SHORT_SHA=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV
echo "VERSION=$(echo "${{ github.ref_name }}" | cut -d'-' -f2)" >> $GITHUB_ENV
- uses: softprops/action-gh-release@v1
- uses: softprops/action-gh-release@v2
with:
name: ${{ env.VERSION }} (${{ env.SHORT_SHA }})
tag_name: ${{ env.SHORT_SHA }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/check-symbols.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: flutter-tizen/tizen_allowlist
token: ${{ secrets.TIZENAPI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion testing/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ source_set("testing") {

if (is_linux) {
# So that we can call gtk_init in main().
configs += [ "//flutter/shell/platform/linux/config:gtk" ]
# configs += [ "//flutter/shell/platform/linux/config:gtk" ]
}

public_deps = [ ":testing_lib" ]
Expand Down

0 comments on commit 5eee0b9

Please sign in to comment.