From 9c560f52d2d51b28f0db31b6dbf4aff503aaba25 Mon Sep 17 00:00:00 2001
From: Boudjada Yasser <by.root96@gmail.com>
Date: Thu, 11 Jul 2024 01:09:54 +0100
Subject: [PATCH] Update python-app-on-mac.yml

Signed-off-by: Boudjada Yasser <by.root96@gmail.com>
---
 .github/workflows/python-app-on-mac.yml | 32 +++++++++----------------
 1 file changed, 11 insertions(+), 21 deletions(-)

diff --git a/.github/workflows/python-app-on-mac.yml b/.github/workflows/python-app-on-mac.yml
index d0bb2e55..8df60192 100644
--- a/.github/workflows/python-app-on-mac.yml
+++ b/.github/workflows/python-app-on-mac.yml
@@ -1,48 +1,38 @@
 name: Run on MacOS
 on: [push]
-
+#defaults:
+#  run:
+#    working-directory: wrdir
 jobs:
+  #deploy:
+  #  runs-on: windows-latest
+  #  steps:
+  #    - name: install readline
+  #      run: python -m pip install readline
   build:
     runs-on: ${{matrix.os}}
     strategy:
       matrix:
-        os: [macos-latest]
+        os: [macos-latest] #,windows-latest
         python-version: [3.7, 3.8, 3.9]
     steps:
       - uses: actions/checkout@v4
-      
-      - name: Install gettext (macOS)
-        if: matrix.os == 'macos-latest'
-        run: brew install gettext
-
-      - name: Set environment variables for gettext (macOS)
-        if: matrix.os == 'macos-latest'
-        run: |
-          echo "PATH=$(brew --prefix gettext)/bin:\$PATH" >> $GITHUB_ENV
-          echo "LDFLAGS=-L$(brew --prefix gettext)/lib" >> $GITHUB_ENV
-          echo "CPPFLAGS=-I$(brew --prefix gettext)/include" >> $GITHUB_ENV
-        shell: bash
-
       - name: Set up Python ${{matrix.python-version}}
         uses: actions/setup-python@v4
         with:
           python-version: ${{matrix.python-version}}
+          # Optional - x64 or x86 architecture, defaults to x64
           architecture: 'x64'
-
+      # You can test your matrix by printing the current Python version
       - name: Display Python version
         run: python -c "import sys; print(sys.version)"
-      
       - name: Create Workspace Folder
         run: mkdir -p wrdir && mkdir -p wrdir/hiphp
-      
       - name: Copy Files & folders to Workspace Folder
         run: cp -r hiphp/* wrdir/hiphp && cp main.py wrdir/main.py
-      
       - name: pip Upgrade
         run: python -m pip install --upgrade pip
-      
       - name: Install requirements
         run: pip install -r requirements.txt
-      
       - name: Test hiphp
         run: python wrdir/main.py