ObjFW  Check-in [79a2a73e8f]

Overview
Comment:Add iOS builds to GitHub Actions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 79a2a73e8fb517d2c20ab3acc1590cb9ca9ca760dcfcbf063979b245e46d9a1a
User & Date: js on 2021-10-15 22:21:28
Other Links: manifest | tags
Context
2021-10-17
12:06
README.md: Add `make check` to instructions check-in: 03edd2ac4f user: js tags: trunk
2021-10-16
10:35
Merge trunk into branch "amiga-library" check-in: 1226a4df9a user: js tags: amiga-library
2021-10-15
22:21
Add iOS builds to GitHub Actions check-in: 79a2a73e8f user: js tags: trunk
21:49
Ignore -Wmisleading-indentation false positive check-in: db9fc797e9 user: js tags: trunk
Changes

Added .github/workflows/ios.yml version [dfaaa1befb].







































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: ios
on: [push, pull_request]
jobs:
  tests:
    runs-on: macos-latest
    strategy:
      matrix:
        arch:
          - arm64
          - x86_64
        configure_flags:
          - 
          - --disable-shared
    steps:
    - name: Install dependencies
      run: brew install autoconf automake
    - uses: actions/checkout@v2
    - name: autogen.sh
      run: ./autogen.sh
    - name: configure
      run: |
        export IPHONEOS_DEPLOYMENT_TARGET="9.0"
        if [ "${{ matrix.arch}}" = "x86_64" ]; then
          sdk="iphonesimulator"
        else
          sdk="iphoneos"
        fi
        export OBJC="clang -isysroot $(xcrun --sdk $sdk --show-sdk-path)"
        export OBJC="$OBJC -arch ${{ matrix.arch }}"
        ./configure --host=${{ matrix.arch }}-apple-darwin \
          ${{ matrix.configure_flags }}
    - name: make
      run: make -j$(sysctl -n hw.logicalcpu)
    - name: make install
      run: sudo make install