ci: build legacy (nosmid) version for old PCs on linux
ci: renamed darwin to apple ci: try to enable self-signed certificate for signing windows binaries Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
This commit is contained in:
parent
30013702c7
commit
54647c7eca
2 changed files with 10 additions and 7 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
arch: ['linux-x86', 'linux-amd64', 'linux-x86-gcc', 'linux-arm64', 'darwin-x86', 'windows-x86-clang', 'windows-amd64', 'windows-x86-gcc']
|
||||
arch: ['linux-x86', 'linux-amd64', 'linux-x86-gcc', 'linux-x86-nosimd', 'linux-arm64', 'apple-x86', 'windows-x86-clang', 'windows-amd64', 'windows-x86-gcc']
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
|
@ -36,11 +36,13 @@ jobs:
|
|||
CXX=clang CXX_LD=lld meson setup ${{matrix.arch}}
|
||||
elif [[ ${{matrix.arch}} == linux-x86-gcc ]]; then
|
||||
CXX=gcc CXX_LD=gold meson setup ${{matrix.arch}}
|
||||
elif [[ ${{matrix.arch}} == linux-x86-nosimd ]]; then
|
||||
CXX=gcc CXX_LD=gold meson setup ${{matrix.arch}} -Dnosimd=true
|
||||
elif [[ ${{matrix.arch}} == linux-amd64 ]]; then
|
||||
CXX=clang CXX_LD=lld meson setup ${{matrix.arch}} -D64bit=true
|
||||
elif [[ ${{matrix.arch}} == windows-amd64 ]]; then
|
||||
meson setup ${{matrix.arch}} --cross-file ${{matrix.arch}} -D64bit=true
|
||||
elif [[ ${{matrix.arch}} == darwin-x86 ]]; then
|
||||
elif [[ ${{matrix.arch}} == apple-x86 ]]; then
|
||||
meson setup ${{matrix.arch}} --cross-file ${{matrix.arch}} -Db_lto=false
|
||||
else
|
||||
meson setup ${{matrix.arch}} --cross-file ${{matrix.arch}}
|
||||
|
|
@ -101,11 +103,11 @@ jobs:
|
|||
|
||||
bot-apple:
|
||||
env:
|
||||
name: darwin-arm64
|
||||
name: apple-arm64
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
arch: ['darwin-arm64']
|
||||
arch: ['apple-arm64']
|
||||
fail-fast: false
|
||||
|
||||
runs-on: macos-latest
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import datetime, calendar
|
|||
|
||||
class BotSign(object):
|
||||
def __init__(self, product: str, url: str):
|
||||
self.signing = False
|
||||
self.signing = True
|
||||
|
||||
self.ossl_path = '/usr/bin/osslsigncode'
|
||||
self.local_key = os.path.join(pathlib.Path().absolute(), 'bot_release_key.pfx');
|
||||
|
|
@ -136,12 +136,13 @@ class BotRelease(object):
|
|||
{'linux-arm64': 'so',
|
||||
'linux-amd64': 'so',
|
||||
'linux-x86-gcc': 'so',
|
||||
'linux-x86-nosimd': 'so',
|
||||
'windows-x86-gcc': 'dll',
|
||||
'windows-x86-clang': 'dll',
|
||||
'windows-x86-msvc-xp': 'dll',
|
||||
'windows-amd64': 'dll',
|
||||
'darwin-x86': 'dylib',
|
||||
'darwin-arm64': 'dylib',
|
||||
'apple-x86': 'dylib',
|
||||
'apple-arm64': 'dylib',
|
||||
}, extra=True))
|
||||
|
||||
def create_dirs(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue