Skip to content

Commit

Permalink
do not build for i386
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Oct 30, 2021
1 parent 6c7841b commit aaa0e8d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
matrix:
include:
- {os: debian, codename: buster, image_owner: , package_type: deb}
- {os: debian, codename: buster, image_owner: i386/, package_type: deb, labels: [i386,docker]}
# - {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 @@ -291,7 +292,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
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"label": "build",
"type": "shell",
"command": "make autojobs=true",
"command": "make",
"problemMatcher": [
"$gcc"
]
Expand Down
4 changes: 2 additions & 2 deletions cocoapods/agg.podspec.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Pod::Spec.new do |s|
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Ivan Gagis" => "[email protected]" }
s.platform = :ios
s.ios.deployment_target = '8.0'
s.ios.deployment_target = '11.0'

s.source = { :http => "http://gagis.hopto.org/repo/cppfw/cocoapods/#{s.name}-#{s.version}.zip" }

s.source_files = "include/**/*.{hpp,h}"
s.header_mappings_dir = "include"

s.ios.vendored_library = "lib/ios/lib#{s.name}.a"
s.ios.vendored_framework = "lib/ios/#{s.name}.xcframework"

end
4 changes: 2 additions & 2 deletions conan/conanfile.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class AggConan(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/agg", src="src/agg/include")
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 aaa0e8d

Please sign in to comment.