Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 27 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,33 @@ jobs:
- uses: actions/checkout@v4
- run: |
echo "to be done"
# lint-pod:
# runs-on: lynx-darwin-14-medium
# steps:
# - name: Download Source
# uses: actions/[email protected]
# - name: Install libyaml
# run: brew install libyaml
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: '2.6'
# - name: Bundle Install
# run: |-
# SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk bundle install --path .bundle
# - name: Lint
# run: |-
# POD_VERSION=${{ github.event.pull_request.head.sha }} bundle exec pod spec lint PrimJS.podspec --verbose --skip-import-validation --allow-warnings
lint-pod:
runs-on: lynx-darwin-14-medium
steps:
- name: Download Source
uses: actions/[email protected]
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2
- name: Rebase onto upstream
run: |
git config --global user.name "lynx.authors"
git config --global user.email "[email protected]"
git remote add upstream https://github.com/${{ github.repository }}.git
git fetch upstream ${{ github.base_ref }}
git rebase upstream/${{ github.base_ref }}
- name: Install libyaml
run: brew install libyaml
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
- name: Bundle Install
run: |-
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk bundle install --path .bundle
- name: Lint
run: |-
POD_VERSION=${{ github.event.pull_request.head.sha }} bundle exec pod spec lint PrimJS.podspec --verbose --skip-import-validation --allow-warnings

check-unittests-linux:
runs-on: lynx-ubuntu-22.04-medium
Expand Down
Loading