Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize CI workflow. #1743

Merged
merged 30 commits into from
Jan 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d3771bb
CI: run android-ndll on Linux.
player-03 Jan 12, 2024
dc02d9d
CI: remove macos-ndll dependency from ios-ndll.
player-03 Jan 12, 2024
0b68e8e
CI: remove linux-ndll dependency from android-ndll.
player-03 Jan 12, 2024
3a39670
CI: split `brew bundle` into its own step.
player-03 Jan 12, 2024
eb75ecf
Rewrite `PlatformTarget.execute()`.
player-03 Jan 12, 2024
a83f405
CI: run android-samples on Linux.
player-03 Jan 14, 2024
74c939a
CI: update step names.
player-03 Jan 14, 2024
a4e3f9c
CI: give each sample its own step.
player-03 Jan 14, 2024
0a47462
CI: run android-samples right after android-ndll.
player-03 Jan 14, 2024
2a1a73c
CI: remove dependencies from more tasks.
player-03 Jan 14, 2024
7cd2def
CI: install format before using `lime -eval`.
player-03 Jan 14, 2024
3cad65a
CI: also install hxp.
player-03 Jan 14, 2024
b8d974a
CI: fix dependency errors.
player-03 Jan 14, 2024
2b602c2
CI: fix missing submodules.
player-03 Jan 14, 2024
5060bf2
CI: switch to macos-12.
player-03 Jan 14, 2024
9980d25
CI: after creating an ndll, immediately test it.
player-03 Jan 16, 2024
f80eeec
CI: validate package-haxelib output.
player-03 Jan 16, 2024
2c7ed59
CI: use single quotes.
player-03 Jan 16, 2024
fcbf65d
CI: fix air-samples Haxe version.
player-03 Jan 16, 2024
39328dc
CI: convert version numbers to variables.
player-03 Jan 16, 2024
42700b1
CI: also run neko-samples after package-haxelib.
player-03 Jan 16, 2024
8e8ccf5
CI: use `-eval` to run air-samples.
player-03 Jan 16, 2024
8ea9c16
CI: use job outputs instead of variables.
player-03 Jan 16, 2024
3d17ead
CI: create dummy step for init job.
player-03 Jan 16, 2024
7423585
CI: try another way to get variables.
player-03 Jan 16, 2024
ed1eab8
Reduce how many jobs compete for a download.
player-03 Jan 16, 2024
5c00ccb
CI: skip HelloWorld sample on iOS.
player-03 Jan 17, 2024
ac61c34
CI: skip HelloWorld sample on Mac.
player-03 Jan 17, 2024
c209c8d
CI: try hard-coding the `runs-on` values again.
player-03 Jan 17, 2024
def9e9b
CI: hard-code Haxe versions for neko-samples.
player-03 Jan 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI: fix missing submodules.
For air-samples, this means downloading the submodules so that `lime rebuild tools` can work.

For windows-samples, we can use `-eval` to skip `rebuild tools` entirely.
player-03 committed Jan 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 2b602c23b004a7c90384d41146896c9839bd2ced
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -560,6 +560,8 @@ jobs:
steps:

- uses: actions/checkout@v3
with:
submodules: true

- uses: krdlab/setup-haxe@v1
with:
@@ -955,22 +957,22 @@ jobs:
- name: Prepare Lime
run: |
haxelib dev lime ${{ github.workspace }}
haxelib run lime setup -alias -y -nocffi
haxelib run lime setup -alias -y -nocffi -eval

- name: Build HelloWorld sample
run: |
lime create HelloWorld -verbose -nocolor
lime build HelloWorld windows -release -verbose -nocolor
lime create HelloWorld -verbose -nocolor -eval
lime build HelloWorld windows -release -verbose -nocolor -eval

- name: Build SimpleImage sample
run: |
lime create SimpleImage -verbose -nocolor
lime build SimpleImage windows -release -verbose -nocolor
lime create SimpleImage -verbose -nocolor -eval
lime build SimpleImage windows -release -verbose -nocolor -eval

- name: Build SimpleAudio sample
run: |
lime create SimpleAudio -verbose -nocolor
lime build SimpleAudio windows -release -verbose -nocolor
lime create SimpleAudio -verbose -nocolor -eval
lime build SimpleAudio windows -release -verbose -nocolor -eval

notify:
runs-on: ubuntu-20.04