Skip to content

Instantly share code, notes, and snippets.

View MathVasc's full-sized avatar

Matheus de Vasconcelos MathVasc

View GitHub Profile
@MathVasc
MathVasc / CI.yml
Last active October 23, 2020 14:45
uploadArtifact
# ...
jobs:
build:
# ...
- name: Build
run: |
set -o pipefail
xcodebuild build-for-testing \
-scheme iOSGitHubActions \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
@MathVasc
MathVasc / buildAndTest.sh
Created October 22, 2020 20:34
BuildAndTest
#!/bin/bash
# Build Command
xcodebuild build-for-testing \
-scheme iOSGitHubActions \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
-derivedDataPath build \
| xcpretty
# Test Command
@MathVasc
MathVasc / CI.yml
Last active October 23, 2020 14:45
needsCI
# ...
jobs:
build:
#...
test:
name: Test Project
needs: build
runs-on: macOS-latest
steps:
@MathVasc
MathVasc / CI.yml
Last active October 23, 2020 14:46
buildAndTest
# ...
jobs:
build:
#...
test:
name: Test Project
runs-on: macOS-latest
steps:
- name: Checkout repository
@MathVasc
MathVasc / test.sh
Created October 22, 2020 19:41
testCI
#!/bin/bash
xcodebuild test \
-scheme iOSGitHubActions \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
| xcpretty
@MathVasc
MathVasc / CI.yml
Last active October 23, 2020 14:46
CIBuild
# ...
jobs:
build:
name: Build Project
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Set Gems
@MathVasc
MathVasc / build.sh
Last active October 22, 2020 18:43
build command
#!/bin/bash
xcodebuild build \
-scheme iOSGitHubActions \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro'
@MathVasc
MathVasc / CI.yml
Created October 22, 2020 14:38
Hello Action
name: Run CI
on:
pull_request
jobs:
hello:
name: Hello World
runs-on: ubuntu-latest
steps:
- name: Say Hello
@MathVasc
MathVasc / CI.yml
Created October 22, 2020 14:23
ActionEvent
name: Run CI
on:
pull_request
@MathVasc
MathVasc / TestClassFull.swift
Created September 7, 2020 17:59
TestClassFull
public class ClassTest: NSObject {
public override init() {
super.init()
print(" >>>> INIT from \(self)")
}
deinit {
print(" >>>> DEINIT from \(self)")
}