@@ -42,12 +42,12 @@ jobs:
42
42
include :
43
43
- target : aarch64-apple-darwin
44
44
build : macos
45
- os : macos-13 -arm
45
+ os : macos-14 -arm
46
46
arch : aarch64
47
- - target : x86_64-apple-darwin
48
- build : macos
49
- os : macos-13
50
- arch : x86_64
47
+ # - target: x86_64-apple-darwin
48
+ # build: macos
49
+ # os: macos-13
50
+ # arch: x86_64
51
51
52
52
runs-on : ${{ matrix.os }}
53
53
steps :
@@ -82,78 +82,78 @@ jobs:
82
82
name : server_${{ matrix.build }}_${{ matrix.arch }}
83
83
path : out/*.zip
84
84
85
- build-for-windows :
86
- name : Windows
87
- needs : models
88
- permissions :
89
- contents : write
90
- strategy :
91
- fail-fast : false
92
- matrix :
93
- include :
94
- - target : x86_64-pc-windows-msvc
95
- build : windows
96
- os : windows-2019
97
- arch : x86_64
85
+ # build-for-windows:
86
+ # name: Windows
87
+ # needs: models
88
+ # permissions:
89
+ # contents: write
90
+ # strategy:
91
+ # fail-fast: false
92
+ # matrix:
93
+ # include:
94
+ # - target: x86_64-pc-windows-msvc
95
+ # build: windows
96
+ # os: windows-2019
97
+ # arch: x86_64
98
98
99
- runs-on : ${{ matrix.os }}
100
- steps :
101
- - uses : actions/checkout@v4
102
- - name : Download Models
103
- uses : actions/download-artifact@v4
104
- with :
105
- name : models
106
- path : src-python/models
107
- - name : Setup Python
108
- uses : actions/setup-python@v5
109
- with :
110
- python-version : 3.10.11
111
- cache : " pip"
112
- cache-dependency-path : " **/requirements.txt"
113
- - name : Install Python Dependencies
114
- run : |
115
- cd src-python
116
- pip install -r requirements.txt
117
- pip install -e .
118
- cd ${{ github.workspace }}
119
- - name : Build Server
120
- shell : pwsh
121
- run : |
122
- python -m nuitka --standalone --assume-yes-for-downloads `
123
- --mingw64 --windows-console-mode=disable `
124
- --include-data-files="src-python/models/*.onnx=models/" `
125
- --output-dir=out src-python/server.py
126
- cd out/server.dist
127
- Compress-Archive -Path * -DestinationPath "../server_${{ matrix.build }}_${{ matrix.arch }}.zip"
128
- cd ${{ github.workspace }}
129
- - name : Upload Server
130
- uses : actions/upload-artifact@v4
131
- with :
132
- name : server_${{ matrix.build }}_${{ matrix.arch }}
133
- path : out/*.zip
99
+ # runs-on: ${{ matrix.os }}
100
+ # steps:
101
+ # - uses: actions/checkout@v4
102
+ # - name: Download Models
103
+ # uses: actions/download-artifact@v4
104
+ # with:
105
+ # name: models
106
+ # path: src-python/models
107
+ # - name: Setup Python
108
+ # uses: actions/setup-python@v5
109
+ # with:
110
+ # python-version: 3.10.11
111
+ # cache: "pip"
112
+ # cache-dependency-path: "**/requirements.txt"
113
+ # - name: Install Python Dependencies
114
+ # run: |
115
+ # cd src-python
116
+ # pip install -r requirements.txt
117
+ # pip install -e .
118
+ # cd ${{ github.workspace }}
119
+ # - name: Build Server
120
+ # shell: pwsh
121
+ # run: |
122
+ # python -m nuitka --standalone --assume-yes-for-downloads `
123
+ # --mingw64 --windows-console-mode=disable `
124
+ # --include-data-files="src-python/models/*.onnx=models/" `
125
+ # --output-dir=out src-python/server.py
126
+ # cd out/server.dist
127
+ # Compress-Archive -Path * -DestinationPath "../server_${{ matrix.build }}_${{ matrix.arch }}.zip"
128
+ # cd ${{ github.workspace }}
129
+ # - name: Upload Server
130
+ # uses: actions/upload-artifact@v4
131
+ # with:
132
+ # name: server_${{ matrix.build }}_${{ matrix.arch }}
133
+ # path: out/*.zip
134
134
135
- release :
136
- name : Release
137
- needs : [models, build-for-macos, build-for-windows]
138
- runs-on : ubuntu-latest
135
+ # release:
136
+ # name: Release
137
+ # needs: [models, build-for-macos, build-for-windows]
138
+ # runs-on: ubuntu-latest
139
139
140
- steps :
141
- - uses : actions/checkout@v4
142
- - name : Downoad Artifacts
143
- uses : actions/download-artifact@v4
144
- with :
145
- pattern : server_*
146
- path : dist
147
- merge-multiple : true
148
- - name : Release Server v${{ needs.models.outputs.version }}
149
- uses : ncipollo/release-action@v1
150
- with :
151
- allowUpdates : true
152
- token : ${{ secrets.GITHUB_TOKEN }}
153
- name : Server v${{ needs.models.outputs.version }}
154
- tag : server-v${{ needs.models.outputs.version }}
155
- body : MagicMirror Server v${{ needs.models.outputs.version }}
156
- draft : true
157
- prerelease : false
158
- removeArtifacts : true
159
- artifacts : dist/*.zip
140
+ # steps:
141
+ # - uses: actions/checkout@v4
142
+ # - name: Downoad Artifacts
143
+ # uses: actions/download-artifact@v4
144
+ # with:
145
+ # pattern: server_*
146
+ # path: dist
147
+ # merge-multiple: true
148
+ # - name: Release Server v${{ needs.models.outputs.version }}
149
+ # uses: ncipollo/release-action@v1
150
+ # with:
151
+ # allowUpdates: true
152
+ # token: ${{ secrets.GITHUB_TOKEN }}
153
+ # name: Server v${{ needs.models.outputs.version }}
154
+ # tag: server-v${{ needs.models.outputs.version }}
155
+ # body: MagicMirror Server v${{ needs.models.outputs.version }}
156
+ # draft: true
157
+ # prerelease: false
158
+ # removeArtifacts: true
159
+ # artifacts: dist/*.zip
0 commit comments