Skip to content

Commit c506898

Browse files
authored
temporarily disabled windows and linux to hopefully speed up compile time.
1 parent ea1f07f commit c506898

File tree

1 file changed

+56
-71
lines changed

1 file changed

+56
-71
lines changed

.github/workflows/main.yml

Lines changed: 56 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,91 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: Build
42

5-
6-
# Controls when the action will run.
73
on:
8-
# Triggers the workflow on push or pull request events but only for the master branch
94
push:
105
branches: [ main, experimental ]
116
pull_request:
127
branches: [ main, experimental ]
13-
14-
# Allows you to run this workflow manually from the Actions tab
158
workflow_dispatch:
169

17-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1810
jobs:
19-
# This workflow contains a single job called "build"
20-
buildLinux:
21-
# The type of runner that the job will run on
22-
runs-on: ubuntu-latest
23-
24-
# Steps represent a sequence of tasks that will be executed as part of the job
25-
steps:
26-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27-
- uses: actions/[email protected]
11+
# buildLinux:
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - uses: actions/[email protected]
15+
# - uses: krdlab/setup-haxe@master
16+
# with:
17+
# haxe-version: 4.3.4
18+
# - name: Install Haxelib
19+
# run: |
20+
# sudo apt-get install libvlc-dev
21+
# sudo apt-get install libvlccore-dev
22+
# haxelib setup ~/haxelib
23+
# haxelib install hxcpp > /dev/null --quiet
24+
# chmod +x ./setup/unix.sh
25+
# sh ./setup/unix.sh
26+
# - name: Skip SScript setup mode
27+
# run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa
28+
# - name: Create Version Tag
29+
# run: echo "${{github.run_id}}" > VERSION
30+
# - name: Compile
31+
# run: haxelib run lime build Project.xml linux --app-version="4.0.0-${{ github.run_id}}" -D officialBuild
32+
# - name: Publish Artifact
33+
# uses: actions/[email protected]
34+
# with:
35+
# name: linuxBuild
36+
# path: 'export/release/linux/bin'
2837

29-
- uses: krdlab/setup-haxe@master
30-
with:
31-
haxe-version: 4.3.4
32-
# Runs a set of commands using the runners shell
33-
- name: Install Haxelib
34-
run: |
35-
sudo apt-get install libvlc-dev
36-
sudo apt-get install libvlccore-dev
37-
haxelib setup ~/haxelib
38-
haxelib install hxcpp > /dev/null --quiet
39-
chmod +x ./setup/unix.sh
40-
sh ./setup/unix.sh
41-
- name: Skip SScript setup mode
42-
run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa
43-
- name: Create Version Tag
44-
run: echo "${{github.run_id}}" > VERSION
45-
- name: Compile
46-
run: haxelib run lime build Project.xml linux --app-version="4.0.0-${{ github.run_id}}" -D officialBuild
47-
- name: Publish Artifact
48-
uses: actions/[email protected]
49-
with:
50-
name: linuxBuild
51-
path: 'export/release/linux/bin'
52-
buildWindows:
53-
runs-on: windows-latest
38+
# buildWindows:
39+
# runs-on: windows-latest
40+
# steps:
41+
# - uses: actions/[email protected]
42+
# - uses: krdlab/setup-haxe@master
43+
# with:
44+
# haxe-version: 4.3.4
45+
# - name: Install Haxelib
46+
# run: |
47+
# haxelib setup C:/haxelib
48+
# haxelib install hxcpp > /dev/null --quiet
49+
# .\"setup/windows.bat"
50+
# shell: cmd
51+
# - name: Skip SScript setup mode
52+
# run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> %USERPROFILE%/settings.cocoa
53+
# shell: cmd
54+
# - name: Create Version Tag
55+
# run: echo "${{github.run_id}}" > VERSION
56+
# - name: Compile
57+
# run: haxelib run lime build windows --app-version="4.0.0-${{ github.run_id}}" -D officialBuild
58+
# - name: Publish Artifact
59+
# uses: actions/[email protected]
60+
# with:
61+
# name: windowsBuild
62+
# path: export/release/windows/bin
5463

55-
steps:
56-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
57-
- uses: actions/[email protected]
58-
59-
- uses: krdlab/setup-haxe@master
60-
with:
61-
haxe-version: 4.3.4
62-
# Runs a set of commands using the runners shell
63-
- name: Install Haxelib
64-
run: |
65-
haxelib setup C:/haxelib
66-
haxelib install hxcpp > /dev/null --quiet
67-
.\"setup/windows.bat"
68-
shell: cmd
69-
- name: Skip SScript setup mode
70-
run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> %USERPROFILE%/settings.cocoa
71-
shell: cmd
72-
- name: Create Version Tag
73-
run: echo "${{github.run_id}}" > VERSION
74-
- name: Compile
75-
run: haxelib run lime build windows --app-version="4.0.0-${{ github.run_id}}" -D officialBuild
76-
- name: Publish Artifact
77-
uses: actions/[email protected]
78-
with:
79-
name: windowsBuild
80-
path: export/release/windows/bin
8164
buildMac:
8265
runs-on: macos-15
83-
8466
steps:
85-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
8667
- uses: actions/[email protected]
8768

8869
- uses: krdlab/setup-haxe@master
8970
with:
9071
haxe-version: 4.3.4
91-
# Runs a set of commands using the runners shell
72+
9273
- name: Install Haxelib
9374
run: |
9475
haxelib setup ~/haxelib
9576
haxelib install hxcpp > /dev/null --quiet
9677
chmod +x ./setup/unix.sh
9778
sh ./setup/unix.sh
79+
9880
- name: Skip SScript setup mode
9981
run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa
82+
10083
- name: Create Version Tag
10184
run: echo "${{github.run_id}}" > VERSION
85+
10286
- name: Compile
10387
run: haxelib run lime build mac --app-version="4.0.0-${{ github.run_id}}" -D officialBuild
88+
10489
- name: Publish Artifact
10590
uses: actions/[email protected]
10691
with:

0 commit comments

Comments
 (0)