|
1 | | -# This is a basic workflow to help you get started with Actions |
2 | | - |
3 | 1 | name: Build |
4 | 2 |
|
5 | | - |
6 | | -# Controls when the action will run. |
7 | 3 | on: |
8 | | - # Triggers the workflow on push or pull request events but only for the master branch |
9 | 4 | push: |
10 | 5 | branches: [ main, experimental ] |
11 | 6 | pull_request: |
12 | 7 | branches: [ main, experimental ] |
13 | | - |
14 | | - # Allows you to run this workflow manually from the Actions tab |
15 | 8 | workflow_dispatch: |
16 | 9 |
|
17 | | -# A workflow run is made up of one or more jobs that can run sequentially or in parallel |
18 | 10 | 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 | | - |
| 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 | + |
| 34 | + # with: |
| 35 | + # name: linuxBuild |
| 36 | + # path: 'export/release/linux/bin' |
28 | 37 |
|
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 | | - |
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 | + |
| 60 | + # with: |
| 61 | + # name: windowsBuild |
| 62 | + # path: export/release/windows/bin |
54 | 63 |
|
55 | | - steps: |
56 | | - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
57 | | - |
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 | | - |
78 | | - with: |
79 | | - name: windowsBuild |
80 | | - path: export/release/windows/bin |
81 | 64 | buildMac: |
82 | 65 | runs-on: macos-15 |
83 | | - |
84 | 66 | steps: |
85 | | - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
86 | 67 | |
87 | 68 |
|
88 | 69 | - uses: krdlab/setup-haxe@master |
89 | 70 | with: |
90 | 71 | haxe-version: 4.3.4 |
91 | | - # Runs a set of commands using the runners shell |
| 72 | + |
92 | 73 | - name: Install Haxelib |
93 | 74 | run: | |
94 | 75 | haxelib setup ~/haxelib |
95 | 76 | haxelib install hxcpp > /dev/null --quiet |
96 | 77 | chmod +x ./setup/unix.sh |
97 | 78 | sh ./setup/unix.sh |
| 79 | +
|
98 | 80 | - name: Skip SScript setup mode |
99 | 81 | run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa |
| 82 | + |
100 | 83 | - name: Create Version Tag |
101 | 84 | run: echo "${{github.run_id}}" > VERSION |
| 85 | + |
102 | 86 | - name: Compile |
103 | 87 | run: haxelib run lime build mac --app-version="4.0.0-${{ github.run_id}}" -D officialBuild |
| 88 | + |
104 | 89 | - name: Publish Artifact |
105 | 90 | |
106 | 91 | with: |
|
0 commit comments