Skip to content

update to newest version of graal(fix undefined symbols grep dxfg_Ins… #67

update to newest version of graal(fix undefined symbols grep dxfg_Ins…

update to newest version of graal(fix undefined symbols grep dxfg_Ins… #67

Workflow file for this run

name: "Build & Test & Release"
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: write
jobs:
# build_and_test:
# name: Build & Test
# runs-on: macos-latest
# strategy:
# matrix:
# include:
# - os: macos-latest
# OS_NAME: osx-x64
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: List
# run: xcodebuild -project DxFeedFramework.xcodeproj -list
# - name: Fetch dep
# run: gradle fetchDependencies
# - name: Build Archive
# run: xcodebuild build -project DxFeedFramework.xcodeproj -scheme XCFramework
# - name: Test
# run: xcodebuild test -project DxFeedFramework.xcodeproj -scheme DXFeedFramework
release:
if: (startsWith(github.event.ref, 'refs/tags/') && endsWith(github.event.ref, 'build'))
name: Release
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch dep
run: gradle fetchDependencies
- name: Build Archive
run: xcodebuild build -project DxFeedFramework.xcodeproj -scheme XCFramework
- name: Build Documentations
run: xcodebuild docbuild -scheme DXFeedFramework -derivedDataPath documentations/
- name: Checkl file
run: ls -al release_sp.sh
- name: Calculate package checksum
run: ./release_sp.sh ${{ github.ref_name }} DXFeedFramework
shell: sh
- name: Commit files
run: |
git config --local user.name "GitHub Action"
git commit Package.swift -m "Update Package.swift"
- name: Push to swift branch. Update swift package.
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: swift
- name: Create tag for SPM
run: |
echo ${{ github.ref_name }}
export TAG_NAME=`echo ${{ github.ref_name }} | sed 's/_build//'`
echo $TAG_NAME
git tag ${TAG_NAME}
git push origin ${TAG_NAME}
- name: Upload Archive and Documentations
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
build/DXFeedFramework.zip
documentations/Build/Products/Debug/DXFeedFramework.doccarchive
token: ${{ secrets.GITHUB_TOKEN }}