Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(): add build.yml step #5

Merged
merged 36 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3bc23ce
feat(): add build.yml step
Dawqss Sep 16, 2024
626eb6c
chore(): build.yml tweaks
Dawqss Sep 16, 2024
acccf6a
chore(): build.yml tweaks
Dawqss Sep 16, 2024
7deb2e8
chore(): build.yml tweaks
Dawqss Sep 16, 2024
aa5a968
chore(): build.yml tweaks
Dawqss Sep 16, 2024
2f2f852
chore(): build.yml tweaks
Dawqss Sep 16, 2024
d6b28d1
chore(): build.yml tweaks
Dawqss Sep 16, 2024
6b2c12c
chore(): build.yml tweaks
Dawqss Sep 16, 2024
1801929
chore(): build.yml tweaks
Dawqss Sep 16, 2024
8136b11
chore(): build.yml tweaks
Dawqss Sep 16, 2024
33a9735
chore(): build.yml tweaks
Dawqss Sep 16, 2024
8bf89bf
chore(): build.yml tweaks
Dawqss Sep 16, 2024
4497767
chore(): build.yml tweaks
Dawqss Sep 16, 2024
4950463
chore(): build.yml tweaks
Dawqss Sep 16, 2024
a4c2f56
chore(): build.yml tweaks
Dawqss Sep 16, 2024
c056667
chore(): build.yml tweaks
Dawqss Sep 16, 2024
edbfaaa
chore(): build.yml tweaks
Dawqss Sep 16, 2024
92243ee
chore(): build.yml tweaks
Dawqss Sep 16, 2024
69b7b3b
chore(): build.yml tweaks
Dawqss Sep 16, 2024
751b3b6
chore(): build.yml tweaks
Dawqss Sep 16, 2024
ce77eb8
chore(): build.yml tweaks
Dawqss Sep 16, 2024
92780fc
chore(): build.yml tweaks
Dawqss Sep 16, 2024
5f71671
chore(): build.yml tweaks
Dawqss Sep 16, 2024
0922a71
chore(): build.yml tweaks
Dawqss Sep 16, 2024
cea984d
chore(): build.yml tweaks
Dawqss Sep 16, 2024
24c7392
chore(): build.yml tweaks // :)
Dawqss Sep 16, 2024
abcb31d
chore(): build.yml tweaks // :)
Dawqss Sep 16, 2024
912af69
chore(): build.yml tweaks // :)
Dawqss Sep 16, 2024
18f9d20
chore(): build.yml tweaks // :)
Dawqss Sep 16, 2024
50b8c62
chore(): build.yml tweaks // :)
Dawqss Sep 16, 2024
1877f23
chore(): build.yml tweaks
Dawqss Sep 16, 2024
f572f5a
chore(): build.yml tweaks
Dawqss Sep 16, 2024
09f73ab
chore(): build.yml tweaks
Dawqss Sep 16, 2024
66303d8
chore(): build.yml delete pwd
Dawqss Sep 16, 2024
a01f462
chore(): build.yml change xcode workspace
Dawqss Sep 26, 2024
7853c36
chore(): build.yml save ios for later
Dawqss Sep 26, 2024
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
56 changes: 56 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: React Native Build
on:
pull_request:
branches:
- master
jobs:
build-android:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependecies
run: yarn install
- name: Set up Java JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Build android app
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: cd ./android && ./gradlew assembleRelease

#build-ios:
# runs-on: macos-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 22
# - name: Install dependencies
# run: |
# npm install
# npx pod-install
# - name: Build iOS app
# run: |
# cd ios
# xcodebuild \
# -workspace CkOnboardinApp.xcworkspace \
# -scheme CkOnboardinApp \
# -configuration Release \
# -sdk iphoneos \
# -derivedDataPath build/ \
# clean build
14 changes: 5 additions & 9 deletions ios/CkOnboardinApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
5DCACB8F33CDC322A6C60F78 /* libPods-CkOnboardinApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CkOnboardinApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = CkOnboardinApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
89C6BE57DB24E9ADA2F236DE /* Pods-CkOnboardinApp-CkOnboardinAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CkOnboardinApp-CkOnboardinAppTests.release.xcconfig"; path = "Target Support Files/Pods-CkOnboardinApp-CkOnboardinAppTests/Pods-CkOnboardinApp-CkOnboardinAppTests.release.xcconfig"; sourceTree = "<group>"; };
92EBCBC4E074D74EB7E04980 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = CkOnboardinApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
92EBCBC4E074D74EB7E04980 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = CkOnboardinApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -472,6 +472,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 5G4M55X26F;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = CkOnboardinApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -499,6 +500,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 5G4M55X26F;
INFOPLIST_FILE = CkOnboardinApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -590,10 +592,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
Expand Down Expand Up @@ -666,10 +665,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down
Loading