Skip to content

Commit

Permalink
Merge branch 'SiEPIC:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Roundy808 authored Oct 8, 2024
2 parents 722d3db + cab608f commit 96d474f
Show file tree
Hide file tree
Showing 26 changed files with 58 additions and 1 deletion.
57 changes: 57 additions & 0 deletions .github/workflows/check_gds_files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Check GDS and OAS File Submissions

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
check_files:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Get list of changed files
id: changed_files
run: |
# Get the list of files changed in the PR
# echo "::set-output name=files::$(git diff --name-only origin/main HEAD)"
# get added/modified py files
if [ "${{ github.event_name }}" == "push" ]; then
echo "::set-output name=files::$(git diff --name-only --diff-filter=ACM ${{ github.event.before }} ${{ github.sha }})"
else
echo "::set-output name=files::$(git diff --name-only --diff-filter=ACM FETCH_HEAD)"
fi
- name: Check GDS and OAS file locations and names
run: |
# Get the list of changed files from the previous step
changed_files="${{ steps.changed_files.outputs.files }}"
# Split files into an array
IFS=$'\n' read -r -d '' -a file_array <<< "$changed_files"
# Loop over the files
for file in "${file_array[@]}"; do
# Check if the file ends with .gds or .oas
if [[ "$file" == *.gds || "$file" == *.oas ]]; then
# Check if the file is in the submissions folder
if [[ "$file" != submissions/* ]]; then
echo "Error: File '$file' is not in the 'submissions' folder."
exit 1
fi
# Check if the file contains any spaces in the name
if [[ "$file" == *" "* ]]; then
echo "Error: File '$file' contains spaces in the filename."
exit 1
fi
fi
done
shell: bash

- name: Success message
if: success()
run: echo "All GDS and OAS files are correctly placed in the submissions folder and contain no spaces in their filenames."
Binary file added EBeam_SabaBabaei.gds
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ The verification and merging is performed using GitHub actions. The repository i

## Latest Merge Layout File
<!-- start-link -->
https://github.com/SiEPIC/openEBL-2024-10/actions/runs/11189559562/artifacts/2018359768
https://github.com/SiEPIC/openEBL-2024-10/actions/runs/11241650695/artifacts/2031066928
<!-- end-link -->
Binary file modified submissions/EBeam_ArminTabesh523.gds
Binary file not shown.
Binary file added submissions/EBeam_ArminTabesh523_v2.gds
Binary file not shown.
Binary file added submissions/EBeam_ArminTabesh523_v3.gds
Binary file not shown.
Binary file modified submissions/EBeam_FatemehKalantari.gds
Binary file not shown.
Binary file added submissions/EBeam_LenaSchad.gds
Binary file not shown.
Binary file modified submissions/EBeam_SebnemDogru.gds
Binary file not shown.
Binary file added submissions/EBeam_VATamma_E.gds
Binary file not shown.
Binary file added submissions/EBeam_VATamma_F.gds
Binary file not shown.
Binary file added submissions/EBeam_VATamma_G.gds
Binary file not shown.
Binary file added submissions/EBeam_VATamma_H.gds
Binary file not shown.
Binary file added submissions/EBeam_WillChen1.gds
Binary file not shown.
Binary file added submissions/EBeam_YertayZhiyenbayev.gds
Binary file not shown.
Binary file modified submissions/EBeam_YuJiangkai.gds
Binary file not shown.
Binary file modified submissions/EBeam_belich_v1.gds
Binary file not shown.
Binary file added submissions/EBeam_denizturan17.gds
Binary file not shown.
Binary file modified submissions/EBeam_janine_boerner.gds
Binary file not shown.
Binary file added submissions/EBeam_mkahraman.gds
Binary file not shown.
Binary file modified submissions/EBeam_robin_h_y.gds
Binary file not shown.
Binary file added submissions/EBeam_sansilicon.gds
Binary file not shown.
Binary file modified submissions/EBeam_victoriamercer.gds
Binary file not shown.
Binary file added submissions/EBeam_vinayjoshi07.gds
Binary file not shown.
Binary file added submissions/Ebeam_Mghazialsharif_MZI.gds
Binary file not shown.
Binary file added submissions/openEBL_kyle_johnson_ansys.gds
Binary file not shown.

0 comments on commit 96d474f

Please sign in to comment.