diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index e226a1e..0000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,10 +0,0 @@ - -## ๐ ์ค๋ช - -- ์ด์์์ ๊ตฌํํ ๋ด์ฉ ์์ฑ - -## โ ์ฒดํฌ๋ฆฌ์คํธ - -> ๊ตฌํํด์ผํ๋ ์ด์ ์ฒดํฌ๋ฆฌ์คํธ -- [ ] ๊ตฌํ๋์ง ์์ ๋ด์ฉ -- [x] ๊ตฌํ ์๋ฃ๋ ๋ด์ฉ diff --git "a/.github/ISSUE_TEMPLATE/\354\235\264\354\212\210-\355\205\234\355\224\214\353\246\277.md" b/.github/ISSUE_TEMPLATE/issue_template.md similarity index 92% rename from ".github/ISSUE_TEMPLATE/\354\235\264\354\212\210-\355\205\234\355\224\214\353\246\277.md" rename to .github/ISSUE_TEMPLATE/issue_template.md index 9ee2ecf..5a3d8c8 100644 --- "a/.github/ISSUE_TEMPLATE/\354\235\264\354\212\210-\355\205\234\355\224\214\353\246\277.md" +++ b/.github/ISSUE_TEMPLATE/issue_template.md @@ -1,5 +1,5 @@ --- -name: ์ด์ ํ ํ๋ฆฟ +name: ISSUE_TEMPLATE about: ๊ณตํต์ ์ผ๋ก ์ฌ์ฉ๋๋ ์ด์ ํ ํ๋ฆฟ title: '' labels: '' diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 3616c6d..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,18 +0,0 @@ - -## โ ๋ฐฐ๊ฒฝ -> ์์ ๋ฐฐ๊ฒฝ์ ๋ํ ์ค๋ช ์ ์์ฑํฉ๋๋ค. -> Issue์ ๋ํ ๋งํฌ๋ฅผ ์ฒจ๋ถํฉ๋๋ค. - -## ๐ง ์์ ๋ด์ญ -> ์์ ํ ๋ด์ฉ๋ค์ ๋์ดํฉ๋๋ค. -> ๊ฐ๊ฒฐํ๊ฒ ๋ฆฌ์คํธ ์ ํ๊ณ , ์์ธํ ์ค๋ช ์ ์๋ ๋ฆฌ๋ทฐ ๋ ธํธ์์ ํฉ๋๋ค. - -## ๐งช ํ ์คํธ ๋ฐฉ๋ฒ -> ๋์์ ํ ์คํธํ ์ ์๋ ๋ฐฉ๋ฒ์ ์ค๋ช ํฉ๋๋ค. -> ์ฑ ์คํ ๋ฐฉ๋ฒ์ผ ์ ์๊ณ , ์ ๋ ํ ์คํธ ์คํ ๋ฐฉ๋ฒ์ผ ์ ์์ต๋๋ค. - -## ๐ ๋ฆฌ๋ทฐ ๋ ธํธ -> ์์ ๋ด์ญ์ ๋ํ ์์ธํ ์ค๋ช ์ ์์ฑํฉ๋๋ค. - -## ๐ธ ์คํฌ๋ฆฐ์ท -> ์์ ํ ๋ด์ฉ์ ๋ํ ์คํฌ๋ฆฐ์ท, ์์ ๋ฑ์ ์ฒจ๋ถํฉ๋๋ค. diff --git a/.github/workflows/Xcode_build_test.yml b/.github/workflows/Xcode_build_test.yml new file mode 100644 index 0000000..d00e860 --- /dev/null +++ b/.github/workflows/Xcode_build_test.yml @@ -0,0 +1,136 @@ +name: Xcode_build_test + +env: + WORKSPACE: iOS/MusicSpot.xcworkspace + +on: + pull_request: + branches: + - 'iOS/release' + - 'iOS/epic/**' + types: [assigned, labeled, opened, synchronize, reopened] + +jobs: + prepare-matrix: + runs-on: macos-13 + outputs: + matrix: ${{ steps.generate-matrix.outputs.matrix }} + steps: + - uses: actions/checkout@v4 + + - name: Setup Xcode + if: ${{ !env.ACT }} + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0.1' + + - name: Generate matrix + id: generate-matrix + run: | + matrix="{\"include\":[" + first_entry=true + for scheme in $(xcodebuild -workspace ${{ env.WORKSPACE }} -list | grep -A 100 "Schemes:" | grep -v "Schemes:" | sed '/^$/d' | sed 's/^[ \t]*//'); do + if [[ $scheme != *"-Package" ]] && [[ $scheme != *"Tests" ]]; then + if [ "$first_entry" = true ]; then + first_entry=false + else + matrix+="," + fi + matrix+="{\"scheme\":\"$scheme\"}" + fi + done + matrix+="]}" + echo "matrix=$matrix" >> $GITHUB_OUTPUT + + xcode-build: + needs: prepare-matrix + runs-on: macos-13 + strategy: + fail-fast: false + matrix: ${{fromJson(needs.prepare-matrix.outputs.matrix)}} + steps: + - uses: actions/checkout@v4 + + - name: Create secret file + env: + API_SECRET: ${{ secrets.API_SECRET }} + run: | + echo $API_SECRET | base64 -D -o iOS/MSData/Sources/MSData/Resources/APIInfo.plist + + - name: Setup Xcode + if: ${{ !env.ACT }} + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0.1' + + - name: ๐ ๏ธ Build ${{ matrix.scheme }} + run: | + echo "๐ ๏ธ Building ${{ matrix.scheme }}" + xcodebuild \ + -workspace ${{ env.WORKSPACE }} \ + -scheme ${{ matrix.scheme }} \ + -sdk 'iphonesimulator' \ + -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro' \ + clean build + + prepare-test-matrix: + runs-on: macos-13 + outputs: + matrix: ${{ steps.generate-test-matrix.outputs.matrix }} + steps: + - uses: actions/checkout@v4 + + - name: Setup Xcode + if: ${{ !env.ACT }} + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0.1' + + - name: Generate test matrix + id: generate-test-matrix + run: | + matrix="{\"include\":[" + first_entry=true + for scheme in $(xcodebuild -workspace ${{ env.WORKSPACE }} -list | grep -A 100 "Schemes:" | grep -v "Schemes:" | sed '/^$/d' | sed 's/^[ \t]*//'); do + if [[ $scheme == *"Tests" ]]; then + if [ "$first_entry" = true ]; then + first_entry=false + else + matrix+="," + fi + matrix+="{\"scheme\":\"$scheme\"}" + fi + done + matrix+="]}" + echo "matrix=$matrix" >> $GITHUB_OUTPUT + + xcode-test: + needs: prepare-test-matrix + runs-on: macos-13 + strategy: + fail-fast: false + matrix: ${{fromJson(needs.prepare-test-matrix.outputs.matrix)}} + steps: + - uses: actions/checkout@v4 + + - name: Create secret file + env: + API_SECRET: ${{ secrets.API_SECRET }} + run: | + echo $API_SECRET | base64 -D -o iOS/MSData/Sources/MSData/Resources/APIInfo.plist + + - name: Setup Xcode + if: ${{ !env.ACT }} + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0.1' + + - name: ๐งช Test ${{ matrix.scheme }} + run: | + echo "๐งช Testing ${{ matrix.scheme }}" + xcodebuild \ + -workspace ${{ env.WORKSPACE }} \ + -scheme ${{ matrix.scheme }} \ + -sdk 'iphonesimulator' \ + -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro' \ + test diff --git a/.gitignore b/.gitignore index 651fa0a..9054ea0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -# Created by https://www.toptal.com/developers/gitignore/api/macos,windows,xcode,swift,swiftpackagemanager -# Edit at https://www.toptal.com/developers/gitignore?templates=macos,windows,xcode,swift,swiftpackagemanager +# Created by https://www.toptal.com/developers/gitignore/api/macos +# Edit at https://www.toptal.com/developers/gitignore?templates=macos ### macOS ### # General @@ -167,6 +167,7 @@ $RECYCLE.BIN/ node_modules + # compiled output dist node_modules @@ -203,4 +204,5 @@ lerna-debug.log* !.vscode/launch.json !.vscode/extensions.json -.env \ No newline at end of file +.env + diff --git a/BE/musicspot/public/release.html b/BE/musicspot/public/release.html index 38f4896..56247ce 100644 --- a/BE/musicspot/public/release.html +++ b/BE/musicspot/public/release.html @@ -6,10 +6,26 @@