Skip to content

Commit

Permalink
do not use obsolete stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Oct 30, 2021
1 parent 14bb8a2 commit 48fb5b9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
# - {os: debian, codename: buster, image_owner: i386/, package_type: deb, labels: [i386,docker]}
- {os: debian, codename: buster, image_owner: arm32v7/, package_type: deb, labels: [arm,docker]}
- {os: debian, codename: bullseye, image_owner: , package_type: deb}
- {os: debian, codename: bullseye, image_owner: arm32v7/, package_type: deb, labels: [arm,docker]}
- {os: ubuntu, codename: focal, image_owner: , package_type: deb}
- {os: raspbian, codename: buster, image_owner: igagis/, package_type: deb, labels: [arm,docker]}
runs-on: ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
Expand Down Expand Up @@ -79,9 +80,9 @@ jobs:
- name: install deps
run: myci-brew-install.sh `myci-list-deps-homebrew.sh`
- name: build
run: make autojobs=true
run: make
- name: test
run: make test autojobs=true
run: make test
- name: deploy
run: myci-deploy-homebrew.sh --tap cppfw/tap
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -140,8 +141,8 @@ jobs:
run: |
cd android
./gradlew copy_aar --warning-mode all
myci-apply-version.sh -v $PACKAGE_VERSION *.pom.in
myci-apply-version.sh -v $PACKAGE_VERSION *.aar.in --filename-only
myci-apply-version.sh --version $PACKAGE_VERSION *.pom.in
myci-apply-version.sh --version $PACKAGE_VERSION *.aar.in --filename-only
- name: deploy
run: myci-deploy-maven-nexus.sh --base-url http://gagis.hopto.org/nexus --repo android android/$PACKAGE_NAME-$PACKAGE_VERSION.aar
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -185,13 +186,13 @@ jobs:
- name: git clone
uses: myci-actions/checkout@master
- name: prepare pacman package
run: myci-apply-version.sh -v $(myci-deb-version.sh debian/changelog) msys2/PKGBUILD.in
run: myci-apply-version.sh --version $(myci-deb-version.sh debian/changelog) msys2/PKGBUILD.in
- name: build
# to make makepkg-mingw build only one architecture we need to set the MINGW_INSTALLS
env: {MINGW_INSTALLS: '${{ matrix.repo }}'}
run: |
cd msys2
PKGEXT='.pkg.tar.xz' autojobs=true makepkg-mingw --syncdeps --noconfirm --skipinteg
PKGEXT='.pkg.tar.xz' makepkg-mingw --syncdeps --noconfirm --skipinteg
- name: deploy
run: |
echo "${{ secrets.MYCI_REPO_SSH_KEY }}" > repo_key_rsa && chmod 600 repo_key_rsa
Expand Down Expand Up @@ -258,7 +259,7 @@ jobs:
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
if: startsWith(github.ref, 'refs/tags/')
- name: prepare conanfile
run: myci-apply-version.sh -v $PACKAGE_VERSION conan/conanfile.py.in
run: myci-apply-version.sh --version $PACKAGE_VERSION conan/conanfile.py.in
- name: build
run: |
conan remote add cppfw $MYCI_CONAN_REMOTE
Expand Down Expand Up @@ -289,7 +290,7 @@ jobs:
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
if: startsWith(github.ref, 'refs/tags/')
- name: prepare conanfile
run: myci-apply-version.sh -v $PACKAGE_VERSION conan/conanfile.py.in
run: myci-apply-version.sh --version $PACKAGE_VERSION conan/conanfile.py.in
- name: build
run: |
conan remote add cppfw $MYCI_CONAN_REMOTE
Expand Down
10 changes: 5 additions & 5 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"label": "build_agg",
"type": "shell",
"command": "make autojobs=true config=rel_agg",
"command": "make config=rel_agg",
"problemMatcher": [
"$gcc"
],
Expand All @@ -18,7 +18,7 @@
{
"label": "build_cairo",
"type": "shell",
"command": "make autojobs=true config=rel_cairo",
"command": "make config=rel_cairo",
"problemMatcher": [
"$gcc"
],
Expand All @@ -30,7 +30,7 @@
{
"label": "build_dbg_agg",
"type": "shell",
"command": "make autojobs=true debug=true config=dbg_agg",
"command": "make debug=true config=dbg_agg",
"problemMatcher": [
"$gcc"
],
Expand All @@ -42,7 +42,7 @@
{
"label": "build_dbg_cairo",
"type": "shell",
"command": "make autojobs=true debug=true config=dbg_cairo",
"command": "make debug=true config=dbg_cairo",
"problemMatcher": [
"$gcc"
],
Expand All @@ -54,7 +54,7 @@
{
"label": "build_dbg_grey_bg",
"type": "shell",
"command": "make autojobs=true debug=true CXXFLAGS=-DM_SVGREN_BACKGROUND=0xff808080",
"command": "make debug=true CXXFLAGS=-DM_SVGREN_BACKGROUND=0xff808080",
"problemMatcher": [
"$gcc"
],
Expand Down
4 changes: 2 additions & 2 deletions conan/conanfile.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class SvgrenConan(ConanFile):
# conan_basic_setup()''')

def build(self):
self.run("CONANBUILDINFO_DIR=$(pwd)/ make autojobs=true")
self.run("CONANBUILDINFO_DIR=$(pwd)/ make autojobs=true test")
self.run("CONANBUILDINFO_DIR=$(pwd)/ make")
self.run("CONANBUILDINFO_DIR=$(pwd)/ make test")

def package(self):
self.copy("*.h", dst="include", src="src")
Expand Down
2 changes: 1 addition & 1 deletion msys2/PKGBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ prepare() {

build() {
cd "$rootDir"
make autojobs=true
make
}

check() {
Expand Down

0 comments on commit 48fb5b9

Please sign in to comment.